public enum DataType extends Enum<DataType>
Enum Constant and Description |
---|
Bool |
DateTime |
Int |
Map |
String |
TimeSpan |
Version |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
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 String
public static final DataType Int
public static final DataType Bool
public static final DataType DateTime
public static final DataType TimeSpan
public static final DataType Version
public static final DataType Map
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 nullpublic int getValue()
Copyright © 2012. All Rights Reserved.