public enum NeedFrom extends java.lang.Enum<NeedFrom>
Java class for needFrom.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="needFrom"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="all"/> <enumeration value="any"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static NeedFrom |
fromValue(java.lang.String v)
Gets the enum equivalent of the given string.
|
java.lang.String |
value()
Gets the string value.
|
static NeedFrom |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeedFrom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static NeedFrom[] values()
for (NeedFrom c : NeedFrom.values()) System.out.println(c);
public static NeedFrom 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()