Enum ElementType

  • All Implemented Interfaces:
    Serializable, Comparable<ElementType>

    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 Detail

      • META_MODEL

        public static final ElementType META_MODEL
      • ASPECT_MODEL

        public static final ElementType ASPECT_MODEL
      • CHARACTERISTIC

        public static final ElementType CHARACTERISTIC
      • 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
    • Method Detail

      • values

        public static ElementType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ElementType c : ElementType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ElementType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getValue

        public String getValue()