hla.rti1516
Class RestoreStatus

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

public final class RestoreStatus
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static RestoreStatus FEDERATE_PREPARED_TO_RESTORE
           
static RestoreStatus FEDERATE_RESTORE_REQUEST_PENDING
           
static RestoreStatus FEDERATE_RESTORING
           
static RestoreStatus FEDERATE_WAITING_FOR_FEDERATION_TO_RESTORE
           
static RestoreStatus FEDERATE_WAITING_FOR_RESTORE_TO_BEGIN
           
static RestoreStatus NO_RESTORE_IN_PROGRESS
           
 
Constructor Summary
RestoreStatus(RestoreStatus otherRestoreStatusValue)
          This is the only public constructor.
 
Method Summary
 boolean equals(Object otherRestoreStatusValue)
          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

NO_RESTORE_IN_PROGRESS

public static final RestoreStatus NO_RESTORE_IN_PROGRESS

FEDERATE_RESTORE_REQUEST_PENDING

public static final RestoreStatus FEDERATE_RESTORE_REQUEST_PENDING

FEDERATE_WAITING_FOR_RESTORE_TO_BEGIN

public static final RestoreStatus FEDERATE_WAITING_FOR_RESTORE_TO_BEGIN

FEDERATE_PREPARED_TO_RESTORE

public static final RestoreStatus FEDERATE_PREPARED_TO_RESTORE

FEDERATE_RESTORING

public static final RestoreStatus FEDERATE_RESTORING

FEDERATE_WAITING_FOR_FEDERATION_TO_RESTORE

public static final RestoreStatus FEDERATE_WAITING_FOR_FEDERATION_TO_RESTORE
Constructor Detail

RestoreStatus

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

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

toString

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object