satin.aro
Class AROobject

java.lang.Object
  |
  +--satin.aro.AROobject
Direct Known Subclasses:
AROexportObject, AROremoteObject

public abstract class AROobject
extends java.lang.Object

Represents an ARO object that resides in an ARO server.

Author:
Ed Stauff

Field Summary
protected AROobjectID id
          The server-assigned object ID.
 
Constructor Summary
protected AROobject(AROobjectID id)
          The constructor.
 
Method Summary
AROobjectID getID()
          Returns the ARO object ID of the object.
protected void setID(AROobjectID id)
          Sets the object ID.
java.lang.String toAROstring()
          Converts the object 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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected AROobjectID id
The server-assigned object ID.
Constructor Detail

AROobject

protected AROobject(AROobjectID id)
The constructor.

Parameters:
id
The ARO object ID.
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.

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.

setID

protected void setID(AROobjectID id)
Sets the object ID. This is to be used only in constructors of classes derived from AROobject. Throws an assertion if the object ID is already set.

Parameters:
id
the object ID.

getID

public AROobjectID getID()
Returns the ARO object ID of the object.

Returns:
The ARO object ID.
Revision History

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

4/16/01 Ed Stauff - made abstract; added AROremoteObject, AROlocalObject.

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

3/27/01 Ed Stauff - initial review.



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