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


Class PlSql

  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractBuildableObject
          extended by oracle.javatools.db.AbstractSystemObject
              extended by oracle.javatools.db.AbstractSchemaObject
                  extended by oracle.javatools.db.PlSql
All Implemented Interfaces:
DBObject, SchemaObject, SourceObject, SystemObject, Copyable, DynamicPropertySet
Direct Known Subclasses:
PlSqlSubprogram, SpecPlSql, Trigger

public abstract class PlSql
extends AbstractSchemaObject
implements SourceObject

Abstract implementation of SchemaObject for all PL/SQL objects that belong in a Schema to extend.

Nested Class Summary
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
Field Summary
static java.lang.String BLOCK_TYPE
Fields inherited from class oracle.javatools.db.AbstractSystemObject
Fields inherited from interface oracle.javatools.db.DBObject
Constructor Summary
PlSql(java.lang.String name, Schema schema)
Method Summary
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.
 java.lang.String getSource()
 PlSqlInterrogator getSourceInterrogator()
static boolean isPlSql(java.lang.String objType)
 void setSource(java.lang.String source)
Methods inherited from class oracle.javatools.db.AbstractSchemaObject
addObjectListener, getProperty, getSchema, removeObjectListener, setProperty, setSchema
Methods inherited from class oracle.javatools.db.AbstractSystemObject
addObjectListener, fireObjectUpdated, getParent, removeObjectListener
Methods inherited from class oracle.javatools.db.AbstractBuildableObject
checkInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization
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.SchemaObject
addObjectListener, getSchema, removeObjectListener, setSchema
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
getProperties, getProperty, getProperty, setProperties, setProperty

Field Detail


public static final java.lang.String BLOCK_TYPE
See Also:
Constant Field Values
Constructor Detail


public PlSql()


public PlSql(java.lang.String name,
             Schema schema)
Method Detail


protected void copyToImpl(AbstractDBObject copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)
Description copied from class: AbstractDBObject
Implementation method for making a copy of this object. To add custom copyTo logic, a subclass must override this method (exactly), and must call back to the super implementation.

copyToImpl in class AbstractSchemaObject
copy - the copy being created of this object
copyParent - 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)
Description copied from class: AbstractDBObject
Equals implementation for testing equality with another AbstractDBObject. Override this method (with exact signature) to customise the equality comparison.

equalsImpl in class AbstractSchemaObject


public java.lang.String getSource()
Specified by:
getSource in interface SourceObject


public void setSource(java.lang.String source)
Specified by:
setSource in interface SourceObject


public static final boolean isPlSql(java.lang.String objType)


public PlSqlInterrogator getSourceInterrogator()

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


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