Interface DataEdge
-
- All Superinterfaces:
UserAttributeContainer
public interface DataEdge extends UserAttributeContainer
There may be only one data edge connecting a data element and a node per direction. This implies that a data element, a node and the type of the data edge (READ or WRITE) identify a data edge unambiguously.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivityConstants.AccessType
getType()
Returns the constant stating the type of the edge (READ or WRITE).boolean
isOptional()
Returns true, if the access of the data element is optional.-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Method Detail
-
getType
ActivityConstants.AccessType getType()
Returns the constant stating the type of the edge (READ or WRITE).- Returns:
- The element type.
-
isOptional
boolean isOptional()
Returns true, if the access of the data element is optional. This is the case, if and only if, the parameter of the activity which uses this data edge, is optional.- Returns:
- True, if the data edge represents optional access to the data.
-
-