public enum DataType extends Enum<DataType>
Enum Constant and Description |
---|
BOOLEAN
This value indicates the data type
boolean . |
BYTE
This value indicates the data type
byte . |
CHAR
This value indicates the data type
char . |
DATASET
This value indicates the data type
DataSet . |
DOUBLE
This value indicates the data type
double . |
FILE
This value indicates the data type
FileParameter.FileRepresentation . |
FLOAT
This value indicates the data type
float . |
HTML
This value indicates the data type HTML.
|
IMAGE |
INT
This value indicates the data type
int . |
LIST
This value indicates the data type
ListResult . |
LONG
This value indicates the data type
long . |
PARAMETERSET
This value indicates the data type
ParameterSet . |
PNG
This value indicates the data type png.
|
SHORT
This value indicates the data type
short . |
STORABLE
This value indicates the data type
Storable . |
STRING
This value indicates the data type
String . |
Modifier and Type | Method and Description |
---|---|
static boolean |
canBeCastedFromTo(DataType from,
DataType to)
|
static DataType |
valueOf(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 BOOLEAN
boolean
.public static final DataType CHAR
char
.public static final DataType BYTE
byte
.public static final DataType SHORT
short
.public static final DataType INT
int
.public static final DataType LONG
long
.public static final DataType FLOAT
float
.public static final DataType DOUBLE
double
.public static final DataType HTML
public static final DataType PNG
public static final DataType LIST
ListResult
.public static final DataType PARAMETERSET
ParameterSet
.public static final DataType FILE
FileParameter.FileRepresentation
.public static final DataType IMAGE
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null