Class Flows
java.lang.Object
com.dassault_systemes.modeler.sysml.model.Flows
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFlowUsageOrDefinition(Type type) Returns whether the givenTypeis a flow usage or a flow definition.
-
Constructor Details
-
Flows
public Flows()
-
-
Method Details
-
isFlowUsageOrDefinition
Returns whether the givenTypeis a flow usage or a flow definition.- Parameters:
type- the type to test- Returns:
trueif the type is aFlowUsageorFlowDefinition;falseotherwise
-