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

E17493-01

oracle.javatools.db.plsql
Class Procedure

java.lang.Object
  extended by oracle.javatools.db.AbstractDBObject
      extended by oracle.javatools.db.AbstractBuildableObject
          extended by oracle.javatools.db.plsql.DBObjectPlSqlFragment
              extended by oracle.javatools.db.plsql.PlSqlBlock
                  extended by oracle.javatools.db.plsql.PlSqlSubProgram
                      extended by oracle.javatools.db.plsql.Procedure
All Implemented Interfaces:
ChildDBObject, DBObject, SchemaObject, SourceObject, SystemObject, Copyable, DynamicPropertySet
Direct Known Subclasses:
Function

public class Procedure
extends PlSqlSubProgram
implements SourceObject

Representation of a PL/SQL Procedure. NB This is a schema object, not a packaged procedure or method in a Type. Refer to PlSqlSubProgram and PlSqlMethod for those object types.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport
 
Field Summary
static java.lang.String TYPE
           
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Constructor Summary
Procedure()
           
 
Method Summary
 void addObjectListener(DBObjectListener list)
          Attaches a listener to this object to listen for change events.
 void addObjectListener(DBObjectListener list)
          Deprecated. 
 void addObjectListener(SchemaObjectListener list)
          Deprecated. 
 void fireObjectUpdated(DBObjectChange change)
          Notifies any registered listeners of the change to this object.
 Schema getSchema()
          Get method for the Schema property
 java.lang.String getSource()
          Get method for the Source property
 java.lang.String getType()
          Returns the type of this object.
 void removeObjectListener(DBObjectListener list)
          Removes the given listener from the list of registered listeners for this class.
 void removeObjectListener(DBObjectListener list)
          Deprecated. 
 void removeObjectListener(SchemaObjectListener list)
          Deprecated. 
 void setSchema(Schema schema)
          Set method for the Schema property
 void setSource(java.lang.String source)
          Set method for the Source property
 
Methods inherited from class oracle.javatools.db.plsql.PlSqlSubProgram
addParameter, getParameter, getParameters, getReturnTypeID, getReturnTypeReference, getSignature, getSignature, setParameters, setReturnTypeReference
 
Methods inherited from class oracle.javatools.db.plsql.PlSqlBlock
addBlock, addDatatype, addReference, addSubProgram, addVariable, getBlocks, getDatatypes, getReferences, getSubProgram, getSubPrograms, getVariable, getVariables, setBlocks, setDatatypes, setReferences, setSubPrograms, setVariables
 
Methods inherited from class oracle.javatools.db.plsql.DBObjectPlSqlFragment
clearSourceID, copyToImpl, getChildAtOffset, getEndOffset, getParent, getSourceID, getStartOffset, setEndOffset, setParent, setStartOffset
 
Methods inherited from class oracle.javatools.db.AbstractBuildableObject
checkInit, checkInit, equalsImpl, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDsImpl, needsInitialization, setProperty
 
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.DBObject
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, replaceReferenceIDs, setID, setName
 
Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, getProperty, setProperties, setProperty
 

Field Detail

TYPE

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

Procedure

public Procedure()
Method Detail

getType

public java.lang.String getType()
Description copied from interface: DBObject
Returns the type of this object. Valid types include things like tables, views, synonyms, and columns.

Specified by:
getType in interface DBObject
Overrides:
getType in class PlSqlSubProgram
Returns:
a string describing the type of object.

getSource

public java.lang.String getSource()
Get method for the Source property

Specified by:
getSource in interface SourceObject
Returns:
the source representing this object
Since:
11.1.2.0.0

setSource

public void setSource(java.lang.String source)
Set method for the Source property

Specified by:
setSource in interface SourceObject
Parameters:
source - the source representing this object
Since:
11.1.2.0.0

setSchema

public void setSchema(Schema schema)
Set method for the Schema property

Specified by:
setSchema in interface SchemaObject
Parameters:
schema -
Since:
11.1.2.0.0

getSchema

public Schema getSchema()
Get method for the Schema property

Specified by:
getSchema in interface SchemaObject
Returns:
the schema
Since:
11.1.2.0.0

addObjectListener

public final void addObjectListener(DBObjectListener list)
Description copied from interface: SystemObject
Attaches a listener to this object to listen for change events.

Specified by:
addObjectListener in interface SystemObject
See Also:
DBObjectListener

removeObjectListener

public final void removeObjectListener(DBObjectListener list)
Description copied from interface: SystemObject
Removes the given listener from the list of registered listeners for this class.

Specified by:
removeObjectListener in interface SystemObject
See Also:
DBObjectListener

fireObjectUpdated

public final void fireObjectUpdated(DBObjectChange change)
Description copied from interface: SystemObject
Notifies any registered listeners of the change to this object.

Specified by:
fireObjectUpdated in interface SystemObject

addObjectListener

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

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

Specified by:
addObjectListener in interface SystemObject

removeObjectListener

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

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

Specified by:
removeObjectListener in interface SystemObject

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
11g Release 2 (11.1.2.0.0)

E17493-01

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