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
Method Summary |
boolean |
equals(Object o)
|
String |
toString()
Returns the String representation of this ObjectId,
which is simply getId().toString() with a null check.
|
mappedClass
public Class mappedClass
id
public Object id
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.
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 $