com.xerox.amazonws.fps
Enum Instrument.Status
java.lang.Object
java.lang.Enum<Instrument.Status>
com.xerox.amazonws.fps.Instrument.Status
- All Implemented Interfaces:
- Serializable, Comparable<Instrument.Status>
- Enclosing interface:
- Instrument
public static enum Instrument.Status
- extends Enum<Instrument.Status>
- implements Serializable
ALL
public static final Instrument.Status ALL
ACTIVE
public static final Instrument.Status ACTIVE
CANCELLED
public static final Instrument.Status CANCELLED
values
public static Instrument.Status[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Instrument.Status c : Instrument.Status.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Instrument.Status valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
value
public String value()
fromValue
public static Instrument.Status fromValue(String v)