org.csapi.jr.se.cs
Class CorrelationID

java.lang.Object
  |
  +--org.csapi.jr.se.cs.CorrelationID
All Implemented Interfaces:
java.io.Serializable

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

Defines the Sequence of Data Elements that identify a correlation.

See Also:
Serialized Form

Constructor Summary
CorrelationID()
          Creates a new CorrelationID instance.
CorrelationID(int _correlationID, int _correlationType)
          Creates a new CorrelationID instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 int getCorrelationID()
          This method returns a correlationID.
 int getCorrelationType()
          This method returns a correlationType.
 int hashCode()
          Returns a hashcode value for the object.
 void setCorrelationID(int correlationID)
          This method sets a correlationID.
 void setCorrelationType(int correlationType)
          This method sets a correlationType.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelationID

public CorrelationID()
Creates a new CorrelationID instance.


CorrelationID

public CorrelationID(int _correlationID,
                     int _correlationType)
Creates a new CorrelationID instance.

Parameters:
_correlationID -
_correlationType -
Method Detail

getCorrelationID

public int getCorrelationID()
This method returns a correlationID.

Returns:
a int value

getCorrelationType

public int getCorrelationType()
This method returns a correlationType.

Returns:
a int value

setCorrelationID

public void setCorrelationID(int correlationID)
This method sets a correlationID.


setCorrelationType

public void setCorrelationType(int correlationType)
This method sets a correlationType.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object