java.lang.Object
com.dassault_systemes.modeler.sysml.model.Flows

@OpenApiAll public class Flows extends Object
Utility methods for identifying flow-related types within the model.

A flow type may appear either as a FlowUsage or a FlowDefinition. This helper provides a simple predicate for checking whether a given Type represents either form.

  • Constructor Details

    • Flows

      public Flows()
  • Method Details

    • isFlowUsageOrDefinition

      public static boolean isFlowUsageOrDefinition(Type type)
      Returns whether the given Type is a flow usage or a flow definition.
      Parameters:
      type - the type to test
      Returns:
      true if the type is a FlowUsage or FlowDefinition; false otherwise