|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdip.order.result.OrderResult.ResultType
Type-Safe enumerated categories of OrderResults.
Field Summary | |
static OrderResult.ResultType |
CONVOY_PATH_TAKEN
ResultType indicating what convoy path a convoyed unit used |
static OrderResult.ResultType |
DISLODGED
ResultType indicating the order's source unit has been dislodged |
static OrderResult.ResultType |
FAILURE
ResultType indicating the order has failed |
static OrderResult.ResultType |
SUBSTITUTED
ResultType indicating that the order was substituted with another order |
static OrderResult.ResultType |
SUCCESS
ResultType indicating the order was successful |
static OrderResult.ResultType |
TEXT
ResultType for a general (not otherwise specified) message |
static OrderResult.ResultType |
VALIDATION_FAILURE
ResultType indicating that order validation failed |
Constructor Summary | |
protected |
OrderResult.ResultType(java.lang.String key,
int ordering)
|
Method Summary | |
int |
compareTo(java.lang.Object obj)
Sorts the result type |
protected java.lang.Object |
readResolve()
Assigns serialized objects to a single constant reference |
java.lang.String |
toString()
For debugging: return the name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final OrderResult.ResultType VALIDATION_FAILURE
public static final OrderResult.ResultType SUCCESS
public static final OrderResult.ResultType FAILURE
public static final OrderResult.ResultType DISLODGED
public static final OrderResult.ResultType CONVOY_PATH_TAKEN
public static final OrderResult.ResultType TEXT
public static final OrderResult.ResultType SUBSTITUTED
Constructor Detail |
protected OrderResult.ResultType(java.lang.String key, int ordering)
Method Detail |
public java.lang.String toString()
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
protected java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |