Package gov.niem.tools.api.db.property
Enum Class Property.Category
- All Implemented Interfaces:
Serializable
,Comparable<Property.Category>
,Constable
- Enclosing class:
Property
A kind of property indicating whether is is a concrete element, abstract element, or attribute.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn abstract element, which must be replaced by a regular element in instances.An attribute, which in XML does not exist independently and must be carried by an element.A typical element, which may be used in instances. -
Method Summary
Modifier and TypeMethodDescriptionstatic Property.Category
Returns the enum constant of this class with the specified name.static Property.Category[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
element
A typical element, which may be used in instances. -
abstract_element
An abstract element, which must be replaced by a regular element in instances. -
attribute
An attribute, which in XML does not exist independently and must be carried by an element.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-