Package org.openmuc.jdlms.datatypes
Enum DataObject.Type
- java.lang.Object
-
- java.lang.Enum<DataObject.Type>
-
- org.openmuc.jdlms.datatypes.DataObject.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataObject.Type>
- Enclosing class:
- DataObject
public static enum DataObject.Type extends java.lang.Enum<DataObject.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY
Array.BCD
BCD.BIT_STRING
Bit String.BOOLEAN
Bool.COMPACT_ARRAY
Compact array.DATE
Date.DATE_TIME
Date Time.DONT_CARE
DOUBLE_LONG
Integer 32.DOUBLE_LONG_UNSIGNED
Unsigned integer 32.ENUMERATE
Enum.FLOAT32
Float 32.FLOAT64
Float 64.INTEGER
Integer 8.LONG_INTEGER
Integer 16.LONG_UNSIGNED
Unsigned integer 16.LONG64
Integer 64.LONG64_UNSIGNED
Unsigned integer 64.NULL_DATA
Null.OCTET_STRING
Octet String.STRUCTURE
Structure.TIME
Time.UNSIGNED
Unsigned integer 8.UTF8_STRING
UTF-8 String.VISIBLE_STRING
Visible String.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataObject.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataObject.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL_DATA
public static final DataObject.Type NULL_DATA
Null.
-
ARRAY
public static final DataObject.Type ARRAY
Array.
-
STRUCTURE
public static final DataObject.Type STRUCTURE
Structure.
-
BOOLEAN
public static final DataObject.Type BOOLEAN
Bool.
-
BIT_STRING
public static final DataObject.Type BIT_STRING
Bit String.
-
DOUBLE_LONG
public static final DataObject.Type DOUBLE_LONG
Integer 32.
-
DOUBLE_LONG_UNSIGNED
public static final DataObject.Type DOUBLE_LONG_UNSIGNED
Unsigned integer 32.
-
OCTET_STRING
public static final DataObject.Type OCTET_STRING
Octet String.
-
UTF8_STRING
public static final DataObject.Type UTF8_STRING
UTF-8 String.
-
VISIBLE_STRING
public static final DataObject.Type VISIBLE_STRING
Visible String.
-
BCD
public static final DataObject.Type BCD
BCD.
-
INTEGER
public static final DataObject.Type INTEGER
Integer 8.
-
LONG_INTEGER
public static final DataObject.Type LONG_INTEGER
Integer 16.
-
UNSIGNED
public static final DataObject.Type UNSIGNED
Unsigned integer 8.
-
LONG_UNSIGNED
public static final DataObject.Type LONG_UNSIGNED
Unsigned integer 16.
-
COMPACT_ARRAY
public static final DataObject.Type COMPACT_ARRAY
Compact array.
-
LONG64
public static final DataObject.Type LONG64
Integer 64.
-
LONG64_UNSIGNED
public static final DataObject.Type LONG64_UNSIGNED
Unsigned integer 64.
-
ENUMERATE
public static final DataObject.Type ENUMERATE
Enum.
-
FLOAT32
public static final DataObject.Type FLOAT32
Float 32.
-
FLOAT64
public static final DataObject.Type FLOAT64
Float 64.
-
DATE_TIME
public static final DataObject.Type DATE_TIME
Date Time.
-
DATE
public static final DataObject.Type DATE
Date.
-
TIME
public static final DataObject.Type TIME
Time.
-
DONT_CARE
public static final DataObject.Type DONT_CARE
-
-
Method Detail
-
values
public static DataObject.Type[] 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 (DataObject.Type c : DataObject.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataObject.Type 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
-
-