Enum UnivalAttributeType
- java.lang.Object
-
- java.lang.Enum<UnivalAttributeType>
-
- sk.ipesoft.d2000.d2japi.annotations.UnivalAttributeType
-
public enum UnivalAttributeType extends java.lang.Enum<UnivalAttributeType>
Enumeration of unival attributes.Note that the enumeration is not complete and there are many more attributes in every unival value. However only those enumerated are supported by
sk.ipesoft.d2000.d2japi.annotations
package. More will be added on demand.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description valueTime
Time of the last object value change - the "\TIM
" attribute.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description sk.ipesoft.d2000.d2japi.annotations.UnivalCoder
getUnivalDecoder(java.lang.reflect.Type parameterClass, UnivalConvertor convertor)
sk.ipesoft.d2000.d2japi.annotations.UnivalCoder
getUnivalEncoder(java.lang.reflect.Type parameterClass, UnivalConvertor convertor)
sk.ipesoft.d2000.d2japi.annotations.UnivalExtractor
getUnivalExtractor(java.lang.reflect.Type parameterClass, UnivalConvertor convertor)
static UnivalAttributeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UnivalAttributeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
valueTime
public static final UnivalAttributeType valueTime
Time of the last object value change - the "\TIM
" attribute.ESL
\TIM
, internal JavaD2Base.getTime()
orD2Base.getTimeMilliseconds()
, JAPIUnivalCommon.getValueTime()
orUnivalCommon.getValueTimeMilliseconds()
.Value can be stored in
Date
orLong
.
-
-
Method Detail
-
values
public static UnivalAttributeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UnivalAttributeType c : UnivalAttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnivalAttributeType valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getUnivalDecoder
public abstract sk.ipesoft.d2000.d2japi.annotations.UnivalCoder getUnivalDecoder(java.lang.reflect.Type parameterClass, UnivalConvertor convertor)
-
getUnivalEncoder
public abstract sk.ipesoft.d2000.d2japi.annotations.UnivalCoder getUnivalEncoder(java.lang.reflect.Type parameterClass, UnivalConvertor convertor)
-
getUnivalExtractor
public abstract sk.ipesoft.d2000.d2japi.annotations.UnivalExtractor getUnivalExtractor(java.lang.reflect.Type parameterClass, UnivalConvertor convertor)
-
-