Class SValidation
- java.lang.Object
- 
- jadex.bpmn.editor.gui.controllers.SValidation
 
- 
 public class SValidation extends java.lang.ObjectClass for validating operations.
- 
- 
Constructor SummaryConstructors Constructor Description SValidation()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanareMessageEventsConnectable(java.lang.Object source, java.lang.Object target)Returns if one of two message events are connectable directly or through conversion to throwing.static booleanareMessageEventsConnectableInThisDirection(java.lang.Object source, java.lang.Object target)Returns if one of two message events are connectable directly or through conversion to throwing in the given direction.static booleanconvertMessageEventsForConnection(java.lang.Object source, java.lang.Object target)Returns if one of two message events are connectable directly or through conversion to throwing in the given direction.static java.lang.StringgetDataEdgeValidationError(java.lang.Object source, java.lang.Object target)Validates a data edge connection.static java.lang.StringgetMessagingEdgeValidationError(java.lang.Object source, java.lang.Object target)Validates a messaging edge connection.static java.lang.StringgetMoveValidationError(java.lang.Object[] cells, java.lang.Object target)static java.lang.StringgetSequenceEdgeValidationError(java.lang.Object source, java.lang.Object target)Validates a sequence edge connection.
 
- 
- 
- 
Method Detail- 
getMoveValidationErrorpublic static java.lang.String getMoveValidationError(java.lang.Object[] cells, java.lang.Object target)
 - 
getSequenceEdgeValidationErrorpublic static java.lang.String getSequenceEdgeValidationError(java.lang.Object source, java.lang.Object target)Validates a sequence edge connection.- Parameters:
- source- The proposed source of the edge.
- target- The proposed target of the edge.
- Returns:
- Error message explaining why the connection is invalid or null if valid.
 
 - 
getMessagingEdgeValidationErrorpublic static java.lang.String getMessagingEdgeValidationError(java.lang.Object source, java.lang.Object target)Validates a messaging edge connection.- Parameters:
- source- The proposed source of the edge.
- target- The proposed target of the edge.
- Returns:
- Error message explaining why the connection is invalid or null if valid.
 
 - 
getDataEdgeValidationErrorpublic static java.lang.String getDataEdgeValidationError(java.lang.Object source, java.lang.Object target)Validates a data edge connection.- Parameters:
- source- The proposed source of the edge.
- target- The proposed target of the edge.
- Returns:
- Error message explaining why the connection is invalid or null if valid.
 
 - 
areMessageEventsConnectablepublic static final boolean areMessageEventsConnectable(java.lang.Object source, java.lang.Object target)Returns if one of two message events are connectable directly or through conversion to throwing.- Parameters:
- evt1- First event.
- evt2- Second event.
- Returns:
- True if they are connectable in some direction.
 
 - 
areMessageEventsConnectableInThisDirectionpublic static final boolean areMessageEventsConnectableInThisDirection(java.lang.Object source, java.lang.Object target)Returns if one of two message events are connectable directly or through conversion to throwing in the given direction.- Parameters:
- evt1- First event.
- evt2- Second event.
- Returns:
- True if they are connectable in the given direction.
 
 - 
convertMessageEventsForConnectionpublic static final boolean convertMessageEventsForConnection(java.lang.Object source, java.lang.Object target)Returns if one of two message events are connectable directly or through conversion to throwing in the given direction.- Parameters:
- source- First event.
- target- Second event.
- Returns:
- True if the direction needs to be flipped.
 
 
- 
 
-