Enum Class ElementType

java.lang.Object
java.lang.Enum<ElementType>
io.openmanufacturing.sds.aspectmodel.urn.ElementType
All Implemented Interfaces:
Serializable, Comparable<ElementType>, Constable

public enum ElementType extends Enum<ElementType>
Provides the element types defined for the Aspect Model URN. It is differentiated between root model elements, these are the element types defined in the BAMM, and model elements, these are elements which are defined in the scope of a root element. For example a Property defined in an Aspect, or a Property defined in an Entity.
  • Enum Constant Details

    • META_MODEL

      public static final ElementType META_MODEL
    • ASPECT_MODEL

      public static final ElementType ASPECT_MODEL
    • ENTITY

      public static final ElementType ENTITY
    • CHARACTERISTIC

      public static final ElementType CHARACTERISTIC
    • UNIT

      public static final ElementType UNIT
    • ASPECT_MODEL_ELEMENT

      public static final ElementType ASPECT_MODEL_ELEMENT
    • ENTITY_MODEL_ELEMENT

      public static final ElementType ENTITY_MODEL_ELEMENT
    • CHARACTERISTIC_MODEL_ELEMENT

      public static final ElementType CHARACTERISTIC_MODEL_ELEMENT
    • NONE

      public static final ElementType NONE
  • Method Details

    • values

      public static ElementType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ElementType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()