Class Successions
java.lang.Object
com.dassault_systemes.modeler.kerml.model.Successions
Utility class to work with
Succession-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Function<Succession, List<? extends Step>> Function providing the effect steps associated with a succession.static Function<Succession, List<? extends Expression>> Function providing the guard expressions associated with a succession.static Function<Succession, Step> Function providing the transition step associated with a succession.static Function<Succession, List<? extends Step>> Function providing the trigger steps associated with a succession. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Succession> getIncomingSuccessions(Feature feature) Returns all incomingSuccessioninstances connected to the given feature.static Collection<Succession> getOutgoingSuccessions(Feature feature) Returns all outgoingSuccessioninstances connected to the given feature.static booleanisTransitionStep(Element element) Checks whether the given element can be used as a transition step in aSuccession.
-
Field Details
-
TRANSITION_STEP
Function providing the transition step associated with a succession. -
TRIGGER_STEP
Function providing the trigger steps associated with a succession. -
EFFECT_STEP
Function providing the effect steps associated with a succession. -
GUARD_EXPRESSION
Function providing the guard expressions associated with a succession.
-
-
Constructor Details
-
Successions
public Successions()
-
-
Method Details
-
isTransitionStep
Checks whether the given element can be used as a transition step in aSuccession.- Parameters:
element- the element to check- Returns:
- true if the element is a valid transition step
-
getIncomingSuccessions
Returns all incomingSuccessioninstances connected to the given feature. Incoming means the feature is the target end of the succession.- Parameters:
feature- the feature whose incoming successions are requested- Returns:
- a collection of incoming successions
-
getOutgoingSuccessions
Returns all outgoingSuccessioninstances connected to the given feature. Outgoing means the feature is the source end of the succession.- Parameters:
feature- the feature whose outgoing successions are requested- Returns:
- a collection of outgoing successions
-