|
Extension SDK 10.1.3.36.73 | ||||||||||
| 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.AbstractSchemaObject
Provides a base implementation of the SchemaObject interface.
| Field Summary |
| Fields inherited from interface oracle.javatools.db.DBObject |
COMMENT |
| Constructor Summary | |
protected |
AbstractSchemaObject()
Constructs a new instance. |
protected |
AbstractSchemaObject(java.lang.String name,
Schema schema)
Constructs a new instance with the specified name and schema. |
protected |
AbstractSchemaObject(java.lang.String name,
Schema schema,
DBObjectID id)
Constructs a new instance with the specified name and schema. |
| Method Summary | |
void |
addObjectListener(SchemaObjectListener list)
Attaches a listener to this object to listen for change events. |
protected void |
checkInit()
|
protected void |
copyToImpl(AbstractSchemaObject copy)
|
protected boolean |
equalsImpl(AbstractSchemaObject target)
|
void |
fireObjectUpdated(DBObjectChange change)
Notifies any registered listeners of the change to this object. |
protected void |
getOwnedObjectsImpl(java.util.Collection c,
java.lang.String type)
Implementation first checks that the object has been built - then returns the collection from suprt.getOwnedObjectsImpl(). |
DBObject |
getParent()
Returns the parent of this object, if one exists. |
protected void |
getReferenceIDsImpl(java.util.Collection c)
Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl(). |
Schema |
getSchema()
Gets the Schema of this object. |
protected boolean |
needsInitialization()
|
void |
removeObjectListener(SchemaObjectListener list)
Removes the given listener from the list of registered listeners for this class. |
void |
setSchema(Schema schema)
Sets the Schema of this object. |
| Methods inherited from class oracle.javatools.db.AbstractDBObject |
compareToImpl, copyToImpl, equalsImpl, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, replaceReferenceIDs, setID, setName, setProperties, setProperty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.javatools.db.DBObject |
copyTo, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, getType, replaceReferenceIDs, setID, setName |
| Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
getProperties, getProperty, getProperty, setProperties, setProperty |
| Constructor Detail |
protected AbstractSchemaObject()
protected AbstractSchemaObject(java.lang.String name,
Schema schema,
DBObjectID id)
name - a string representing the name of the objectschema - a string representing the schema containing the objectid - the ID for this object
protected AbstractSchemaObject(java.lang.String name,
Schema schema)
name - a string representing the name of the objectschema - a string representing the schema containing the object| Method Detail |
protected void copyToImpl(AbstractSchemaObject copy)
protected boolean equalsImpl(AbstractSchemaObject target)
public void setSchema(Schema schema)
SchemaObject
setSchema in interface SchemaObjectschema - the Schema containing this objectpublic Schema getSchema()
SchemaObject
getSchema in interface SchemaObjectprotected boolean needsInitialization()
protected void checkInit()
public DBObject getParent()
DBObject
getParent in interface DBObject
protected void getOwnedObjectsImpl(java.util.Collection c,
java.lang.String type)
getOwnedObjectsImpl in class AbstractDBObjecttype - the type to search for
protected void getReferenceIDsImpl(java.util.Collection c)
getReferenceIDsImpl in class AbstractDBObjectpublic final void removeObjectListener(SchemaObjectListener list)
SchemaObject
removeObjectListener in interface SchemaObjectSchemaObjectListenerpublic final void addObjectListener(SchemaObjectListener list)
SchemaObject
addObjectListener in interface SchemaObjectSchemaObjectListenerpublic final void fireObjectUpdated(DBObjectChange change)
SchemaObject
fireObjectUpdated in interface SchemaObject
|
Extension SDK 10.1.3.36.73 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2005, Oracle.All rights reserved.