Class Items
java.lang.Object
com.dassault_systemes.modeler.sysml.model.Items
Utility class providing helper methods for working with
ItemUsage or ItemDefinition.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisItemUsageOrDefinition(Element element) Checks whether the given element is anItemUsageorItemDefinition.static booleanisOwningTypeItemUsageOrDefinition(Feature feature) Checks whether the owning type of the given feature is anItemUsageorItemDefinition.
-
Constructor Details
-
Items
public Items()
-
-
Method Details
-
isOwningTypeItemUsageOrDefinition
Checks whether the owning type of the given feature is anItemUsageorItemDefinition.- Parameters:
feature- the feature whose owning type is inspected- Returns:
- true if the owning type is an item usage or definition
-
isItemUsageOrDefinition
Checks whether the given element is anItemUsageorItemDefinition.- Parameters:
element- the element to check- Returns:
- true if the element is an item usage or definition
-