Class Successions

java.lang.Object
com.dassault_systemes.modeler.kerml.model.Successions

@OpenApiAll public class Successions extends Object
Utility class to work with Succession
  • Field Details

    • TRANSITION_STEP

      public static Function<Succession,Step> TRANSITION_STEP
      Function providing the transition step associated with a succession.
    • TRIGGER_STEP

      public static Function<Succession,List<? extends Step>> TRIGGER_STEP
      Function providing the trigger steps associated with a succession.
    • EFFECT_STEP

      public static Function<Succession,List<? extends Step>> EFFECT_STEP
      Function providing the effect steps associated with a succession.
    • GUARD_EXPRESSION

      public static Function<Succession,List<? extends Expression>> GUARD_EXPRESSION
      Function providing the guard expressions associated with a succession.
  • Constructor Details

    • Successions

      public Successions()
  • Method Details

    • isTransitionStep

      public static boolean isTransitionStep(Element element)
      Checks whether the given element can be used as a transition step in a Succession.
      Parameters:
      element - the element to check
      Returns:
      true if the element is a valid transition step
    • getIncomingSuccessions

      public static Collection<Succession> getIncomingSuccessions(Feature feature)
      Returns all incoming Succession instances 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

      public static Collection<Succession> getOutgoingSuccessions(Feature feature)
      Returns all outgoing Succession instances 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