stomp.jdo
Class ObjectId
java.lang.Object
|
+--stomp.jdo.ObjectId
- All Implemented Interfaces:
- java.io.Serializable
- public class ObjectId
- extends java.lang.Object
- implements java.io.Serializable
represents a JDO object id, providing some information about the original
object as well in case the object is deleted.
- See Also:
- Serialized Form
Constructor Summary |
ObjectId(java.lang.Object id)
|
ObjectId(java.lang.Object id,
java.lang.Class file)
|
Method Summary |
java.lang.Class |
getObjectClass()
returns the class of the object that this id represents. |
java.lang.Object |
getObjectId()
returns the actual JDO id that this object is storing. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectId
public ObjectId(java.lang.Object id)
ObjectId
public ObjectId(java.lang.Object id,
java.lang.Class file)
getObjectClass
public java.lang.Class getObjectClass()
- returns the class of the object that this id represents.
getObjectId
public java.lang.Object getObjectId()
- returns the actual JDO id that this object is storing.