|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Receipt.Type>
things.data.Receipt.Type
public static enum Receipt.Type
Enum Constant Summary | |
---|---|
ACCEPTANCE
|
|
COLLECTION
|
|
COMPLETION
|
|
DELIVERY
|
|
ERRORED
|
|
ETERNAL_HAPPINESS
|
|
IRRELEVENT
|
|
NOT_VALID
|
|
PREPARATION
|
|
REJECTED
|
|
UNDERWAY
|
|
UNSPECIFIED
|
|
UNWANTED
|
Method Summary | |
---|---|
boolean |
isCompleteAndOk()
Returns true the RESULT is both complete and OK, as opposed to BAD and/or not complete. |
boolean |
isOk()
Returns true the RESULT is OK, as opposed to BAD. |
boolean |
isTerminal()
Returns true the STATE is TERMINAL, as opposed to PENDING. |
static Receipt.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Receipt.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Receipt.Type NOT_VALID
public static final Receipt.Type UNSPECIFIED
public static final Receipt.Type PREPARATION
public static final Receipt.Type COLLECTION
public static final Receipt.Type UNWANTED
public static final Receipt.Type DELIVERY
public static final Receipt.Type ACCEPTANCE
public static final Receipt.Type UNDERWAY
public static final Receipt.Type COMPLETION
public static final Receipt.Type REJECTED
public static final Receipt.Type ERRORED
public static final Receipt.Type IRRELEVENT
public static final Receipt.Type ETERNAL_HAPPINESS
Method Detail |
---|
public static Receipt.Type[] values()
for (Receipt.Type c : Receipt.Type.values()) System.out.println(c);
public static Receipt.Type 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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean isCompleteAndOk()
public boolean isOk()
public boolean isTerminal()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |