hla.rti1516
Class RestoreFailureReason

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

public final class RestoreFailureReason
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static RestoreFailureReason FEDERATE_REPORTED_FAILURE
           
static RestoreFailureReason FEDERATE_RESIGNED
           
static RestoreFailureReason RTI_DETECTED_FAILURE
           
static RestoreFailureReason RTI_UNABLE_TO_RESTORE
           
 
Constructor Summary
RestoreFailureReason(RestoreFailureReason otherResignActionValue)
          This is the only public constructor.
 
Method Summary
 boolean equals(Object otherResignActionValue)
          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_RESTORE

public static final RestoreFailureReason RTI_UNABLE_TO_RESTORE

FEDERATE_REPORTED_FAILURE

public static final RestoreFailureReason FEDERATE_REPORTED_FAILURE

FEDERATE_RESIGNED

public static final RestoreFailureReason FEDERATE_RESIGNED

RTI_DETECTED_FAILURE

public static final RestoreFailureReason RTI_DETECTED_FAILURE
Constructor Detail

RestoreFailureReason

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

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

toString

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object