|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.cm.ds.db.TemporaryObjectID
Implementation od the DBObjectID interface for objects that only exist in memory. The Object ID in this case can point directly to the object.
Method Summary | |
static DBObjectID |
createID(DBObject obj) Creates a new DBObjectID pointing to a specific object. |
static DBObjectID |
createID(DBObject obj, DBObject original) Creates a new DBObjectID pointing to a specific object. |
boolean |
equals(DBObjectID id) Whether the specified id is equivalent to this id. |
boolean |
equals(DBObjectID id, boolean strict) Whether the specified id is equivalent to this id. |
java.lang.String |
getType() Retrieves the type of object referenced by this id. |
DBObject |
resolveID() Resolves the id into the object referenced. |
DBObject |
resolveOriginalID() Get the original object which this temporary one was copied from |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jdeveloper.cm.ds.db.DBObjectID |
toString |
Method Detail |
public boolean equals(DBObjectID id)
DBObjectID
equals
in interface DBObjectID
id
- the DBObjectID being checked for equalitypublic boolean equals(DBObjectID id, boolean strict)
DBObjectID
equals
in interface DBObjectID
id
- the DBObjectID being checked for equalitystrict
- whether a strict definition of equality should be used.public java.lang.String getType()
DBObjectID
getType
in interface DBObjectID
DBObject.getType();
public DBObject resolveID() throws DBException
DBObjectID
resolveID
in interface DBObjectID
DBException
public static DBObjectID createID(DBObject obj)
obj
- the DBObject referenced by this IDpublic static DBObjectID createID(DBObject obj, DBObject original)
obj
- the DBObject referenced by this IDoriginal
- the DBObject which has been copied to create the temporary objectpublic DBObject resolveOriginalID() throws DBException
DBException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.