hla.rti
Class SynchronizationPointFailureReason

java.lang.Object
  extended byhla.rti.SynchronizationPointFailureReason
All Implemented Interfaces:
java.io.Serializable

public final class SynchronizationPointFailureReason
extends java.lang.Object
implements java.io.Serializable

Represents the reason for the failure of a synchronization point.

Author:
DMSO
See Also:
Serialized Form

Field Summary
static SynchronizationPointFailureReason SYNCHRONIZATION_POINT_LABEL_NOT_UNIQUE
          The synchronization point label is not unique.
static SynchronizationPointFailureReason SYNCHRONIZATION_SET_MEMBER_NOT_JOINED
          A synchronization set member is not joined.
private  int value
          The value of the instance.
 
Constructor Summary
private SynchronizationPointFailureReason(int pValue)
          Private constructor.
  SynchronizationPointFailureReason(SynchronizationPointFailureReason otherReason)
          Copy constructor.
 
Method Summary
 boolean equals(java.lang.Object otherReason)
          Compares this synchronization point failure reason for equality with another.
 int hashCode()
          Computes and returns a hash code corresponding to this synchronization point failure reason.
 java.lang.String toString()
          Returns a string representation of this synchronization point failure reason.
 
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
The synchronization point label is not unique.


SYNCHRONIZATION_SET_MEMBER_NOT_JOINED

public static final SynchronizationPointFailureReason SYNCHRONIZATION_SET_MEMBER_NOT_JOINED
A synchronization set member is not joined.


value

private int value
The value of the instance.

Constructor Detail

SynchronizationPointFailureReason

public SynchronizationPointFailureReason(SynchronizationPointFailureReason otherReason)
Copy constructor.

Parameters:
otherReason - the synchronization point failure reason object to copy

SynchronizationPointFailureReason

private SynchronizationPointFailureReason(int pValue)
Private constructor.

Parameters:
pValue - the integer value corresponding to this synchronization point failure reason
Method Detail

equals

public boolean equals(java.lang.Object otherReason)
Compares this synchronization point failure reason for equality with another.

Parameters:
otherReason - the other synchronization point failure reason
Returns:
true if the two synchronization point failure reasons are equal, false otherwise

hashCode

public int hashCode()
Computes and returns a hash code corresponding to this synchronization point failure reason.

Returns:
a hash code corresponding to this synchronization point failure reason

toString

public java.lang.String toString()
Returns a string representation of this synchronization point failure reason.

Returns:
a string representation of this synchronization point failure reason