|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractBuildableObject
public abstract class AbstractBuildableObject
Provides methods for lazy loading and building AbstractDBObjects. This has been abstracted from AbstractSchemaObject.
| 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 | |
|---|---|
|
AbstractBuildableObject()
|
protected |
AbstractBuildableObject(java.lang.String name,
DBObjectID id)
Constructs a new instance with the specified name and id. |
| Method Summary | |
|---|---|
protected void |
checkInit()
Checks that the whole object is initialized (built). |
protected void |
checkInit(java.lang.String prop)
Checks that the given property has been built. |
protected void |
copyToImpl(AbstractDBObject copy,
DBObject copyParent,
IDPolicy idPolicy)
Implementation method for making a copy of this object. |
protected boolean |
equalsImpl(AbstractDBObject target)
Equals implementation for testing equality with another AbstractDBObject. |
protected void |
getOwnedObjectsImpl(java.util.Collection<DBObject> c,
java.lang.String... types)
Implementation first checks that the object has been built - then returns the collection from suprt.getOwnedObjectsImpl(). |
java.util.Map |
getProperties()
Returns null if no properties are set. |
java.lang.Object |
getProperty(java.lang.String prop)
Retrieves the value associated with a property. |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl(). |
protected boolean |
needsInitialization()
Checks if there is still a DBObjectBuilder registered against this object, identifying that it is not yet fully built. |
void |
setProperty(java.lang.String prop,
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, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getProperty, getReferenceIDs, 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.SystemObject |
|---|
addObjectListener, fireObjectUpdated, removeObjectListener |
| Methods inherited from interface oracle.javatools.db.DBObject |
|---|
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
| Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
|---|
getProperty, setProperties |
| Constructor Detail |
|---|
public AbstractBuildableObject()
protected AbstractBuildableObject(java.lang.String name,
DBObjectID id)
name - a string representing the name of this object.id - the id for this object.| Method Detail |
|---|
protected boolean needsInitialization()
protected void checkInit(java.lang.String prop)
protected void checkInit()
public java.util.Map getProperties()
AbstractDBObject
getProperties in interface DynamicPropertySetgetProperties in class AbstractDBObjectpublic java.lang.Object getProperty(java.lang.String prop)
DynamicPropertySet
getProperty in interface DynamicPropertySetgetProperty in class AbstractDBObjectprop - 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 prop,
java.lang.Object value)
DynamicPropertySetnull
removes that property.
setProperty in interface DynamicPropertySetsetProperty in class AbstractDBObjectprop - the property key to setvalue - the value to set
protected void getOwnedObjectsImpl(java.util.Collection<DBObject> c,
java.lang.String... types)
getOwnedObjectsImpl in class AbstractDBObjectc - a Collection of the apppropriate children.types - a vararg of the type(s) to search forAbstractDBObject.includesType(java.lang.String, java.lang.String...)protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
getReferenceIDsImpl in class AbstractDBObjectrefs - the collection of ids this object references
protected void copyToImpl(AbstractDBObject copy,
DBObject copyParent,
IDPolicy idPolicy)
AbstractDBObject
copyToImpl in class AbstractDBObjectcopy - 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.protected boolean equalsImpl(AbstractDBObject target)
AbstractDBObject
equalsImpl in class AbstractDBObject
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||