Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.db
Class SpecPlSql

java.lang.Object
  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
                      extended by oracle.javatools.db.SpecPlSql
All Implemented Interfaces:
DBObject, SchemaObject, SourceObject, SystemObject, Copyable, DynamicPropertySet
Direct Known Subclasses:
ComplexType, Package

Deprecated. use PlSqlSchemaObjectSpec instead

@Deprecated
public abstract class SpecPlSql
extends PlSql

Since:
11.1.2.0.0

Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport
 
Field Summary
 
Fields inherited from class oracle.javatools.db.PlSql
BLOCK_TYPE
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Constructor Summary
protected SpecPlSql()
          Deprecated.  
protected SpecPlSql(java.lang.String name, Schema schema)
          Deprecated.  
 
Method Summary
 void addAttribute(int index, PlSqlAttribute att)
          Deprecated. Adds one attribute to this object type at the given index.
 void addAttribute(PlSqlAttribute att)
          Deprecated. Adds one attribute to this object type.
 void addMethod(int index, PlSqlMethod method)
          Deprecated. Adds one method to this object type at the given index.
 void addMethod(PlSqlMethod method)
          Deprecated. Adds one method to this object type.
protected  void copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
          Deprecated. Implementation method for making a copy of this object.
protected  boolean equalsImpl(AbstractDBObject target)
          Deprecated. Equals implementation for testing equality with another AbstractDBObject.
 PlSqlAttribute getAttribute(java.lang.String name)
          Deprecated. Retrieves one attribute by name.
 PlSqlAttribute[] getAttributes()
          Deprecated. Retrieves the list of attributes contained in this object type.
 java.lang.String getBodySource()
          Deprecated.  
 PlSqlInterrogator getBodySourceInterrogator()
          Deprecated.  
 PlSqlMethod getMethod(java.lang.String name)
          Deprecated. Retrieves one method by name.
 PlSqlMethod[] getMethods()
          Deprecated. Retrieves the list of methods contained in this object type.
 void removeAttribute(PlSqlAttribute att)
          Deprecated. Removes an attribute from this object type.
 void removeMethod(PlSqlMethod method)
          Deprecated. Removes an method from this object type.
 void setAttributes(PlSqlAttribute[] newAttribs)
          Deprecated. Sets the entire list of attributes, replacing any that have previously been added.
 void setBodySource(java.lang.String body)
          Deprecated.  
 void setMethods(PlSqlMethod[] newMethods)
          Deprecated. Sets the entire list of methods, replacing any that have previously been added.
 
Methods inherited from class oracle.javatools.db.PlSql
getSource, getSourceInterrogator, isPlSql, setSource
 
Methods inherited from class oracle.javatools.db.AbstractSchemaObject
getProperty, getSchema, setProperty, setSchema
 
Methods inherited from class oracle.javatools.db.AbstractSystemObject
addObjectListener, addObjectListener, addObjectListener, fireObjectUpdated, getParent, removeObjectListener, removeObjectListener, 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, addObjectListener, fireObjectUpdated, removeObjectListener, 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
 

Constructor Detail

SpecPlSql

protected SpecPlSql()
Deprecated. 

SpecPlSql

protected SpecPlSql(java.lang.String name,
                    Schema schema)
Deprecated. 
Method Detail

copyToImpl

protected void copyToImpl(AbstractDBObject copy,
                          DBObject copyParent,
                          IDPolicy idPolicy)
Deprecated. 
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.

Overrides:
copyToImpl in class PlSql
Parameters:
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.

equalsImpl

protected boolean equalsImpl(AbstractDBObject target)
Deprecated. 
Description copied from class: AbstractDBObject
Equals implementation for testing equality with another AbstractDBObject. Override this method (with exact signature) to customise the equality comparison.

Overrides:
equalsImpl in class PlSql

setAttributes

public void setAttributes(PlSqlAttribute[] newAttribs)
Deprecated. 
Sets the entire list of attributes, replacing any that have previously been added. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
newAttribs - an array containing the new list of attributes

getAttributes

public PlSqlAttribute[] getAttributes()
Deprecated. 
Retrieves the list of attributes contained in this object type. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Returns:
an array containing the list of attributes

addAttribute

public void addAttribute(PlSqlAttribute att)
Deprecated. 
Adds one attribute to this object type. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
att - the new attribute to add

addAttribute

public void addAttribute(int index,
                         PlSqlAttribute att)
Deprecated. 
Adds one attribute to this object type at the given index. Shift the attribute at that position (and any subsequent attributes) down one place. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
index - the index to add the new attribute at
att - the new attribute to add

getAttribute

public PlSqlAttribute getAttribute(java.lang.String name)
Deprecated. 
Retrieves one attribute by name.

Parameters:
a - string containing the desired attribute name
Returns:
The attribute requested or null

removeAttribute

public void removeAttribute(PlSqlAttribute att)
Deprecated. 
Removes an attribute from this object type. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
att - the attribute to remove

setMethods

public void setMethods(PlSqlMethod[] newMethods)
Deprecated. 
Sets the entire list of methods, replacing any that have previously been added. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
newMethods - an array containing the new list of methods

getMethods

public PlSqlMethod[] getMethods()
Deprecated. 
Retrieves the list of methods contained in this object type.

Returns:
an array containing the list of methods

addMethod

public void addMethod(PlSqlMethod method)
Deprecated. 
Adds one method to this object type. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
att - the new method to add

addMethod

public void addMethod(int index,
                      PlSqlMethod method)
Deprecated. 
Adds one method to this object type at the given index. Shift the method at that position (and any subsequent methods) down one place. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
index - the index to add the new method at
method - the new method to add

getMethod

public PlSqlMethod getMethod(java.lang.String name)
Deprecated. 
Retrieves one method by name.

Parameters:
a - string containing the desired method name
Returns:
The method requested or null

removeMethod

public void removeMethod(PlSqlMethod method)
Deprecated. 
Removes an method from this object type. This method does not update the underlying PL/SQL. It is only intended to be used at build time by the Object Type Builder.

Parameters:
method - the method to remove

getBodySource

public java.lang.String getBodySource()
Deprecated. 

setBodySource

public void setBodySource(java.lang.String body)
Deprecated. 

getBodySourceInterrogator

public PlSqlInterrogator getBodySourceInterrogator()
Deprecated. 

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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