public enum ServiceFulfillmentStatus extends java.lang.Enum<ServiceFulfillmentStatus>
Enum Constant and Description |
---|
Fulfilled
The fulfilled status.
|
Violated
The violated status.
|
Modifier and Type | Method and Description |
---|---|
static ServiceFulfillmentStatus |
convertFromNumber(int number)
Returns the status from a number
|
int |
getMessageNumber()
Returns the number of this message.
|
static ServiceFulfillmentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceFulfillmentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceFulfillmentStatus Fulfilled
public static final ServiceFulfillmentStatus Violated
public static ServiceFulfillmentStatus[] values()
for (ServiceFulfillmentStatus c : ServiceFulfillmentStatus.values()) System.out.println(c);
public static ServiceFulfillmentStatus 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 int getMessageNumber()
public static ServiceFulfillmentStatus convertFromNumber(int number)
number
- status number