org.xorm
Class ObjectId

java.lang.Object
  |
  +--org.xorm.ObjectId
All Implemented Interfaces:
Serializable

public class ObjectId
extends Object
implements Serializable

The shared ObjectId class used to represent datastore identity.

See Also:
Serialized Form

Field Summary
 Object id
           
 Class mappedClass
           
 
Constructor Summary
ObjectId()
           
ObjectId(Class mappedClass, Object id)
          Constructs a new ObjectId for the given class and argument.
ObjectId(String mangledId)
           
 
Method Summary
 boolean equals(Object o)
           
 String toString()
          Returns the String representation of this ObjectId, which is simply getId().toString() with a null check.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mappedClass

public Class mappedClass

id

public Object id
Constructor Detail

ObjectId

public ObjectId()

ObjectId

public ObjectId(String mangledId)

ObjectId

public ObjectId(Class mappedClass,
                Object id)
Constructs a new ObjectId for the given class and argument.

Method Detail

toString

public String toString()
Returns the String representation of this ObjectId, which is simply getId().toString() with a null check. This value can later be used with PersistenceManager. newObjectIdInstance().

Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/ObjectId.html,v 1.8 2004/05/30 08:55:03 wbiggs Exp $