?? AttributeType
- ????????:
Serializable
,Comparable<AttributeType>
AttributeDefinition
annotation.-
??????
???? -
????
??????????toString()
static AttributeType
?????????????????? ??????????????????? ????????(?????? ??????)static AttributeType[]
values()
???????????????, ??????????????
-
????????
-
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.
-
-
??????
-
values
???????????????, ??????????????- ??:
- ???????????????????????????
-
valueOf
?????????????????? ??????????????????? ????????(?????? ??????)- ??:
name
- ????????????- ??:
- ?????????????
- ??:
IllegalArgumentException
- ??????????????????NullPointerException
- ???????
-
toString
- ??:
toString
???Enum<AttributeType>
-