Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.javatools.db
Class AbstractSchemaObject

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractBuildableObject
          extended by oracle.javatools.db.AbstractSchemaObject
All Implemented Interfaces:
DBObject, SchemaObject, SystemObject, Copyable, DynamicPropertySet
Direct Known Subclasses:
DatabaseLink, Directory, Index, Indextype, Java, MaterializedViewLog, PlSql, RecycledObject, Relation, Sequence, Synonym, XMLSchema

public abstract class AbstractSchemaObject
extends AbstractBuildableObject
implements SchemaObject

Provides a base implementation of the SchemaObject interface.

Since:
9.0.5

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 AbstractSchemaObject()
           
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)
          Deprecated. 
protected  void copyToImpl(AbstractSchemaObject copy, DBObject copyParent, IDPolicy idPolicy)
           
protected  boolean equalsImpl(AbstractSchemaObject target)
           
 DBObject getParent()
          Returns the parent of this object, if one exists.
 Schema getSchema()
          Gets the Schema of this object.
 void removeObjectListener(SchemaObjectListener list)
          Deprecated. 
 void setSchema(Schema schema)
          Sets the Schema of this object.
 
Methods inherited from class oracle.javatools.db.AbstractBuildableObject
addObjectListener, checkInit, checkInit, checkInitEx, copyToImpl, equalsImpl, fireObjectUpdated, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDsImpl, needsInitialization, removeObjectListener, setProperties, setProperty
 
Methods inherited from class oracle.javatools.db.AbstractDBObject
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, 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, getReferenceIDs, getType, replaceReferenceIDs, setID, setName
 
Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, getProperty, setProperties, setProperty
 

Constructor Detail

AbstractSchemaObject

protected AbstractSchemaObject()

AbstractSchemaObject

protected AbstractSchemaObject(java.lang.String name,
                               Schema schema,
                               DBObjectID id)
Constructs a new instance with the specified name and schema.

Parameters:
name - a string representing the name of the object
schema - a string representing the schema containing the object
id - the ID for this object

AbstractSchemaObject

protected AbstractSchemaObject(java.lang.String name,
                               Schema schema)
Constructs a new instance with the specified name and schema.

Parameters:
name - a string representing the name of the object
schema - a string representing the schema containing the object
Method Detail

copyToImpl

protected void copyToImpl(AbstractSchemaObject copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)

equalsImpl

protected boolean equalsImpl(AbstractSchemaObject target)

setSchema

public void setSchema(Schema schema)
Description copied from interface: SchemaObject
Sets the Schema of this object.

Specified by:
setSchema in interface SchemaObject
Parameters:
schema - the Schema containing this object

getSchema

public Schema getSchema()
Description copied from interface: SchemaObject
Gets the Schema of this object.

Specified by:
getSchema in interface SchemaObject
Returns:
schema the Schema containing this object

getParent

public DBObject getParent()
Description copied from interface: DBObject
Returns the parent of this object, if one exists. This does not return the Schema for a SchemaObject. Schema's are not considered part of the ownership parent tree.

Specified by:
getParent in interface DBObject

removeObjectListener

@Deprecated
public final void removeObjectListener(SchemaObjectListener list)
Deprecated. 

Description copied from interface: SchemaObject
Removes the given listener from the list of registered listeners for this class.

Specified by:
removeObjectListener in interface SchemaObject

addObjectListener

@Deprecated
public final void addObjectListener(SchemaObjectListener list)
Deprecated. 

Description copied from interface: SchemaObject
Attaches a listener to this object to listen for change events.

Specified by:
addObjectListener in interface SchemaObject

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.