Enum AttributeType
- All Implemented Interfaces:
Serializable,Comparable<AttributeType>,java.lang.constant.Constable
AttributeDefinition annotation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiontoString()static AttributeTypeReturns the enum constant of this type with the specified name.static AttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
STRING
TheStringtype.Attributes of this type should be stored as
String,List<String>orString[]objects, depending on thecardinalityvalue. -
LONG
TheLongtype.Attributes of this type should be stored as
Long,List<Long>orlong[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
INTEGER
TheIntegertype.Attributes of this type should be stored as
Integer,List<Integer>orint[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
SHORT
TheShorttype.Attributes of this type should be stored as
Short,List<Short>orshort[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
CHARACTER
TheCharactertype.Attributes of this type should be stored as
Character,List<Character>orchar[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
BYTE
TheBytetype.Attributes of this type should be stored as
Byte,List<Byte>orbyte[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
DOUBLE
TheDoubletype.Attributes of this type should be stored as
Double,List<Double>ordouble[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
FLOAT
TheFloattype.Attributes of this type should be stored as
Float,List<Float>orfloat[]objects, depending on theAttributeDefinition#cardinality() cardinalityvalue. -
BOOLEAN
TheBooleantype.Attributes of this type should be stored as
Boolean,List<Boolean>orboolean[]objects depending onAttributeDefinition#cardinality() cardinality. -
PASSWORD
ThePasswordtype.Attributes of this type must be stored as
String,List<String>orString[]objects depending oncardinality.A
Passwordmust be treated as aStringbut the type can be used to disguise the information when displayed to a user to prevent it from being seen.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<AttributeType>
-