hla.rti1516
Class SaveFailureReason

java.lang.Object
  extended by hla.rti1516.SaveFailureReason
All Implemented Interfaces:
Serializable

public final class SaveFailureReason
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static SaveFailureReason FEDERATE_REPORTED_FAILURE
           
static SaveFailureReason FEDERATE_RESIGNED
           
static SaveFailureReason RTI_DETECTED_FAILURE
           
static SaveFailureReason RTI_UNABLE_TO_SAVE
           
static SaveFailureReason SAVE_TIME_CANNOT_BE_HONORED
           
 
Constructor Summary
SaveFailureReason(SaveFailureReason otherSaveFailureReasonValue)
          This is the only public constructor.
 
Method Summary
 boolean equals(Object otherSaveFailureReasonValue)
          Allows comparison with other instance of same type.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

RTI_UNABLE_TO_SAVE

public static final SaveFailureReason RTI_UNABLE_TO_SAVE

FEDERATE_REPORTED_FAILURE

public static final SaveFailureReason FEDERATE_REPORTED_FAILURE

FEDERATE_RESIGNED

public static final SaveFailureReason FEDERATE_RESIGNED

RTI_DETECTED_FAILURE

public static final SaveFailureReason RTI_DETECTED_FAILURE

SAVE_TIME_CANNOT_BE_HONORED

public static final SaveFailureReason SAVE_TIME_CANNOT_BE_HONORED
Constructor Detail

SaveFailureReason

public SaveFailureReason(SaveFailureReason otherSaveFailureReasonValue)
This is the only public constructor. Each user-defined instance of a SaveFailureReason must be initialized with one of the defined static values.

Parameters:
otherSaveFailureReasonValue - must be a defined static value or another instance.
Method Detail

toString

public String toString()
Overrides:
toString in class Object
Returns:
String with value "SaveFailureReason(n)" where n is value

equals

public boolean equals(Object otherSaveFailureReasonValue)
Allows comparison with other instance of same type.

Overrides:
equals in class Object
Returns:
true if supplied object is of type SaveFailureReason and has same value; false otherwise

hashCode

public int hashCode()
Overrides:
hashCode in class Object