|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.db.AbstractDBObject oracle.javatools.db.AbstractChildDBObject
public abstract class AbstractChildDBObject
Extension of DBObject used by child object in the API.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
---|
AbstractDBObject.ChildSupport |
Field Summary |
---|
Fields inherited from interface oracle.javatools.db.DBObject |
---|
COMMENT |
Constructor Summary | |
---|---|
protected |
AbstractChildDBObject()
|
protected |
AbstractChildDBObject(java.lang.String name)
|
protected |
AbstractChildDBObject(java.lang.String name,
DBObject parent)
|
Method Summary | ||
---|---|---|
protected void |
copyToImpl(AbstractDBObject copy,
DBObject copyParent,
IDPolicy idPolicy)
Implementation method for making a copy of this object. |
|
|
findParent(java.lang.Class<T> parentClass)
Looks in the parent heirachy of this object for an object of the given class. |
|
DBObject |
getParent()
Returns the parent of this object, if one exists. |
|
java.lang.Object |
getProperty(java.lang.String key)
Retrieves the value associated with a property. |
|
void |
setParent(DBObject parent)
Sets the parent of this object. |
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Sets the value for a property. |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.javatools.db.DBObject |
---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, setProperties |
Constructor Detail |
---|
protected AbstractChildDBObject()
protected AbstractChildDBObject(java.lang.String name)
protected AbstractChildDBObject(java.lang.String name, DBObject parent)
Method Detail |
---|
public void setParent(DBObject parent)
ChildDBObject
setParent
in interface ChildDBObject
public final DBObject getParent()
ChildDBObject
getParent
in interface ChildDBObject
getParent
in interface DBObject
public final <T extends DBObject> T findParent(java.lang.Class<T> parentClass)
frag.findParent( SQLQuery.class )
on a
valid SQLFragment instance will return the SQLQuery in its heirachy (if
one exists).
parentClass
- the type of parent object to look for
protected void copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
copyToImpl
in class AbstractDBObject
copy
- the copy being created of this objectcopyParent
- if this object is being copied underneath a parent, this
parameter is the copy of the parent of this object, which will therefore
need to be the parent of the copy of this object.idPolicy
- the policy for copying the object's ID.public java.lang.Object getProperty(java.lang.String key)
DynamicPropertySet
getProperty
in interface DynamicPropertySet
getProperty
in class AbstractDBObject
key
- the property key for which a value is desired.
exists.
null
value
if the property does not exist or is not set.public void setProperty(java.lang.String key, java.lang.Object value)
DynamicPropertySet
null
removes that property.
setProperty
in interface DynamicPropertySet
setProperty
in class AbstractDBObject
key
- the property key to setvalue
- the value to set
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |