public enum ValueType extends java.lang.Enum<ValueType>
Java class for ValueType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ValueType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="STRING"/> <enumeration value="DATE"/> <enumeration value="TIME"/> <enumeration value="DATETIME"/> <enumeration value="NUMBER"/> <enumeration value="POSITIVENUMBER"/> <enumeration value="HEXNUMBER"/> <enumeration value="FLOAT"/> <enumeration value="BOOLEAN"/> <enumeration value="DURATION"/> <enumeration value="BASE64"/> <enumeration value="URL"/> </restriction> </simpleType>
Enum Constant and Description |
---|
BASE_64 |
BOOLEAN |
DATE |
DATETIME |
DURATION |
FLOAT |
HEXNUMBER |
NUMBER |
POSITIVENUMBER |
STRING |
TIME |
URL |
Modifier and Type | Method and Description |
---|---|
static ValueType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType STRING
public static final ValueType DATE
public static final ValueType TIME
public static final ValueType DATETIME
public static final ValueType NUMBER
public static final ValueType POSITIVENUMBER
public static final ValueType HEXNUMBER
public static final ValueType FLOAT
public static final ValueType BOOLEAN
public static final ValueType DURATION
public static final ValueType BASE_64
public static final ValueType URL
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 value()
public static ValueType fromValue(java.lang.String v)