Enum Class Property.Category

java.lang.Object
java.lang.Enum<Property.Category>
gov.niem.tools.api.db.property.Property.Category
All Implemented Interfaces:
Serializable, Comparable<Property.Category>, Constable
Enclosing class:
Property

public static enum Property.Category extends Enum<Property.Category>
A kind of property indicating whether is is a concrete element, abstract element, or attribute.
  • Enum Constant Details

    • element

      public static final Property.Category element
      A typical element, which may be used in instances.
    • abstract_element

      public static final Property.Category abstract_element
      An abstract element, which must be replaced by a regular element in instances.
    • attribute

      public static final Property.Category attribute
      An attribute, which in XML does not exist independently and must be carried by an element.
  • Method Details

    • values

      public static Property.Category[] 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 Property.Category 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