Enum Constant and Description |
---|
ANY_ERROR |
BLOB |
BOOLEAN |
DOUBLE |
DYNAMIC_STRUCTURE |
ERROR |
INTEGER |
LIST |
OPAQUE |
OPTIONAL |
SECRET |
STRING |
STRUCTURE |
STRUCTURE_REF |
VOID |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType VOID
public static final DataType INTEGER
public static final DataType DOUBLE
public static final DataType BOOLEAN
public static final DataType BLOB
public static final DataType STRING
public static final DataType ERROR
public static final DataType OPTIONAL
public static final DataType LIST
public static final DataType STRUCTURE
public static final DataType OPAQUE
public static final DataType SECRET
public static final DataType STRUCTURE_REF
public static final DataType DYNAMIC_STRUCTURE
public static final DataType ANY_ERROR
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public int getIntValue()
public java.lang.String toString()
toString
in class java.lang.Enum<DataType>