private String tooManyMessagesTextID() { if (messageEvent.isIntermediateEvent()) { if (messageEvent.isCatching()) { return "multipleIncomingMessageFlowsToIntermediateEvent"; } else { return "multipleOutgoingMessageFlowsFromIntermediateEvent"; } } else if (messageEvent.isStartEvent()) { return "multipleIncomingMessageFlowsToMessageStartEvent"; } else { return "multipleOutgoingMessageFlowsFromMessageEndEvent"; } }
private String noMessagesTextID() { if (messageEvent.isIntermediateEvent()) { if (messageEvent.isCatching()) { return "messageIntermediateCatchEventWithoutMessageFlow"; } else { return "messageIntermediateThrowEventWithoutMessageFlow"; } } else if (messageEvent.isStartEvent()) { return "messageStartEventWithoutMessageFlow"; } else { return "messageEndEventWithoutMessageFlow"; } }