hla.rti1516
Class SynchronizationPointFailureReason

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

public final class SynchronizationPointFailureReason
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static SynchronizationPointFailureReason SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE
           
static SynchronizationPointFailureReason SYNCHRONIZATION_SET_MEMBER_NOT_JOINED
           
 
Constructor Summary
SynchronizationPointFailureReason(SynchronizationPointFailureReason otherReason)
          This is the only public constructor.
 
Method Summary
 boolean equals(Object otherReason)
          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

SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE

public static final SynchronizationPointFailureReason SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE

SYNCHRONIZATION_SET_MEMBER_NOT_JOINED

public static final SynchronizationPointFailureReason SYNCHRONIZATION_SET_MEMBER_NOT_JOINED
Constructor Detail

SynchronizationPointFailureReason

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

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

toString

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object