Enum Class AttributeKind
- All Implemented Interfaces:
Serializable,Comparable<AttributeKind>,Constable
AttributeType.
An AttributeKind is used as an input value in
AttributeTypeApi.
Each attribute kind is mapping to
Resource.getResourceType()
for Attribute Type instance(s) returned from the AttributeTypeApi.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA boolean attribute kind.A date attribute kind.A multi-value list attribute kind.A numeric attribute kind.A script attribute kind.A single-value attribute kind.A string attribute kind. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeKindReturns the enum constant of this class with the specified name.static AttributeKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
A boolean attribute kind.Corresponds to
Resource.getResourceType()with theBooleanAttributeType value. -
STRING
A string attribute kind.Corresponds to
Resource.getResourceType()with theStringAttributeType value. -
NUMERIC
A numeric attribute kind.Corresponds to
Resource.getResourceType()with theNumericAttributeType value. -
DATE
A date attribute kind.Corresponds to
Resource.getResourceType()with theDateAttributeType value. -
SINGLE_VALUE_LIST
A single-value attribute kind.Corresponds to
Resource.getResourceType()with theSingleValueListAttributeType value. -
MULTI_VALUE_LIST
A multi-value list attribute kind.Corresponds to
Resource.getResourceType()with theMultiValueListAttributeType value. -
SCRIPT
A script attribute kind.Corresponds to
Resource.getResourceType()with theScriptAttributeType value.
-
-
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
-