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

@OpenApiAll public class Behaviors extends Object
Utility class to work with Behavior
  • Constructor Details

    • Behaviors

      public Behaviors()
  • Method Details

    • isStepOrBehaviorResolving

      public static boolean isStepOrBehaviorResolving(@CheckForNull Type type)
      Returns whether the given type resolves to a Step or Behavior. Type resolution is performed before the check.
      Parameters:
      type - the type to test
      Returns:
      true if the resolved type is a step or behavior
    • isStepOrBehavior

      public static boolean isStepOrBehavior(@CheckForNull Type type)
      Returns whether the given type is a Step or Behavior.
      Parameters:
      type - the type to test
      Returns:
      true if the type is a step or behavior
    • isStepOrBehavior

      public static boolean isStepOrBehavior(org.eclipse.emf.ecore.EClass eClass)
      Returns whether the given EClass represents a Step or a Behavior.
      Parameters:
      eClass - the class to test
      Returns:
      true if the class is a step or behavior