public enum ValueType extends 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="INTEGER"/> <enumeration value="DECIMAL"/> <enumeration value="STRING"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static ValueType |
fromValue(String v) |
String |
value() |
static ValueType |
valueOf(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 INTEGER
public static final ValueType DECIMAL
public static final ValueType STRING
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 String value()
Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0