Enum Class AttributeType
- All Implemented Interfaces:
Serializable
,Comparable<AttributeType>
,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 AttributeType
Returns the enum constant of this class with the specified name.static AttributeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
TheString
type.Attributes of this type should be stored as
String
,List<String>
orString[]
objects, depending on thecardinality
value. -
LONG
TheLong
type.Attributes of this type should be stored as
Long
,List<Long>
orlong[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
INTEGER
TheInteger
type.Attributes of this type should be stored as
Integer
,List<Integer>
orint[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
SHORT
TheShort
type.Attributes of this type should be stored as
Short
,List<Short>
orshort[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
CHARACTER
TheCharacter
type.Attributes of this type should be stored as
Character
,List<Character>
orchar[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
BYTE
TheByte
type.Attributes of this type should be stored as
Byte
,List<Byte>
orbyte[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
DOUBLE
TheDouble
type.Attributes of this type should be stored as
Double
,List<Double>
ordouble[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
FLOAT
TheFloat
type.Attributes of this type should be stored as
Float
,List<Float>
orfloat[]
objects, depending on theAttributeDefinition#cardinality() cardinality
value. -
BOOLEAN
TheBoolean
type.Attributes of this type should be stored as
Boolean
,List<Boolean>
orboolean[]
objects depending onAttributeDefinition#cardinality() cardinality
. -
PASSWORD
ThePassword
type.Attributes of this type must be stored as
String
,List<String>
orString[]
objects depending oncardinality
.A
Password
must be treated as aString
but 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 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
-
toString
- Overrides:
toString
in classEnum<AttributeType>
-