hla.rti1516
Class SaveStatus

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

public final class SaveStatus
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static SaveStatus FEDERATE_INSTRUCTED_TO_SAVE
           
static SaveStatus FEDERATE_SAVING
           
static SaveStatus FEDERATE_WAITING_FOR_FEDERATION_TO_SAVE
           
static SaveStatus NO_SAVE_IN_PROGRESS
           
 
Constructor Summary
SaveStatus(SaveStatus otherSaveStatusValue)
          This is the only public constructor.
 
Method Summary
 boolean equals(Object otherSaveStatusValue)
          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_SAVE_IN_PROGRESS

public static final SaveStatus NO_SAVE_IN_PROGRESS

FEDERATE_INSTRUCTED_TO_SAVE

public static final SaveStatus FEDERATE_INSTRUCTED_TO_SAVE

FEDERATE_SAVING

public static final SaveStatus FEDERATE_SAVING

FEDERATE_WAITING_FOR_FEDERATION_TO_SAVE

public static final SaveStatus FEDERATE_WAITING_FOR_FEDERATION_TO_SAVE
Constructor Detail

SaveStatus

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

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

toString

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object