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

@OpenApiAll public class Items extends Object
Utility class providing helper methods for working with ItemUsage or ItemDefinition.
  • Constructor Details

    • Items

      public Items()
  • Method Details

    • isOwningTypeItemUsageOrDefinition

      public static boolean isOwningTypeItemUsageOrDefinition(Feature feature)
      Checks whether the owning type of the given feature is an ItemUsage or ItemDefinition.
      Parameters:
      feature - the feature whose owning type is inspected
      Returns:
      true if the owning type is an item usage or definition
    • isItemUsageOrDefinition

      public static boolean isItemUsageOrDefinition(@CheckForNull Element element)
      Checks whether the given element is an ItemUsage or ItemDefinition.
      Parameters:
      element - the element to check
      Returns:
      true if the element is an item usage or definition