satin.aro
Class AROobjectID

java.lang.Object
  |
  +--satin.aro.AROobjectID

public class AROobjectID
extends java.lang.Object

Identifies an ARO object that resides in an ARO server.

Author:
Ed Stauff

Field Summary
final int id
          The integer object ID.
 
Constructor Summary
AROobjectID(int id)
          Constructs an AROobjectID from an integer ID.
 
Method Summary
boolean equals(java.lang.Object that)
           
int hashCode()
           
java.lang.String toAROstring()
          Converts the object to a representation suitable for inclusion in an ARO protocol message.
static java.lang.String toAROstring(AROobjectID id)
          Converts an AROobjectID to a representation suitable for inclusion in an ARO protocol message.
java.lang.String toString()
          Converts the object to a human-readable representation.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

public final int id
The integer object ID.
Constructor Detail

AROobjectID

public AROobjectID(int id)
Constructs an AROobjectID from an integer ID.

Parameters:
id
The integer object ID, obtained from an ARO response. It is placed in the id field.
Method Detail

toAROstring

public java.lang.String toAROstring()
Converts the object to a representation suitable for inclusion in an ARO protocol message.

Returns:
A string containing the ARO representation of the object.

toAROstring

public static java.lang.String toAROstring(AROobjectID id)
Converts an AROobjectID to a representation suitable for inclusion in an ARO protocol message.

Parameters:
id
the object ID, or null.
Returns:
A string containing the ARO representation of the object.

toString

public java.lang.String toString()
Converts the object to a human-readable representation.

Overrides:
toString in class java.lang.Object

Returns:
The string representation of the object.

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object that)

Overrides:
equals in class java.lang.Object
Revision History

7/24/01 Ed Stauff - added static toAROstring.

4/6/01 Ed Stauff - changes per initial code review.

4/16/01 Ed Stauff - added hashCode() and equals() to make AROexportMap work.

4/5/01 Ed Stauff - made changes per review.

3/27/01 Ed Stauff - initial review.



Generated on 5/9/2001 19:37 from AROobjectID.java (PRIVATE SOURCES)