|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| 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.AbstractBuildableObject
oracle.javatools.db.AbstractSystemObject
oracle.javatools.db.AbstractSchemaObject
oracle.javatools.db.PlSql
oracle.javatools.db.PlSqlSubprogram
public abstract class PlSqlSubprogram
Abstract implementation of PlSql for objects that are a simple subprogram (e.g. function or procedure).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
|---|
AbstractDBObject.ChildSupport |
| Field Summary |
|---|
| Fields inherited from class oracle.javatools.db.PlSql |
|---|
BLOCK_TYPE |
| Fields inherited from class oracle.javatools.db.AbstractSystemObject |
|---|
m_listeners |
| Fields inherited from interface oracle.javatools.db.DBObject |
|---|
COMMENT |
| Constructor Summary | |
|---|---|
PlSqlSubprogram()
|
|
PlSqlSubprogram(java.lang.String name,
Schema schema)
|
|
| Method Summary | |
|---|---|
void |
addParameter(int index,
PlSqlParameter param)
Adds one parameter to this Pl/SQL subprogram at the given index. |
void |
addParameter(PlSqlParameter p)
Adds one parameter to this PlSql subprogram. |
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 |
getBody()
Deprecated. |
protected void |
getOwnedObjectsImpl(java.util.Collection<DBObject> c,
java.lang.String[] types)
Implementation first checks that the object has been built - then returns the collection from suprt.getOwnedObjectsImpl(). |
PlSqlParameter |
getParameter(java.lang.String name)
Retrieves one parameter by name. |
PlSqlParameter[] |
getParameters()
Retrieves the list of parameters going into the PlSql subprogram |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl(). |
DataType |
getReturnType()
Deprecated. - use getReturnTypeID() |
DBObjectID |
getReturnTypeID()
|
java.lang.String |
getSignature()
|
void |
removeParameter(PlSqlParameter param)
Removes a parameter from this Pl/Sql subprogram. |
void |
setBody(java.lang.String body)
Deprecated. |
void |
setParameters(PlSqlParameter[] newParams)
Sets the entire list of parameters, replacing any that have previously been added. |
void |
setReturnType(DataType returnType)
Deprecated. - use setReturnTypeID() |
void |
setReturnTypeID(DBObjectID returnTypeID)
|
| Methods inherited from class oracle.javatools.db.PlSql |
|---|
getSource, getSourceInterrogator, isPlSql, setSource |
| 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, getProperties, 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.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 |
| Methods inherited from interface oracle.javatools.db.SchemaObject |
|---|
addObjectListener, getSchema, removeObjectListener, setSchema |
| Methods inherited from interface oracle.javatools.db.SystemObject |
|---|
addObjectListener, fireObjectUpdated, removeObjectListener |
| Constructor Detail |
|---|
public PlSqlSubprogram()
public PlSqlSubprogram(java.lang.String name,
Schema schema)
| Method Detail |
|---|
protected void copyToImpl(AbstractDBObject copy,
DBObject copyParent,
IDPolicy idPolicy)
AbstractDBObject
copyToImpl in class PlSqlcopy - the copy being created of this objectcopyParent - 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)
AbstractDBObject
equalsImpl in class PlSql@Deprecated public DataType getReturnType()
@Deprecated public void setReturnType(DataType returnType)
public DBObjectID getReturnTypeID()
getReturnTypeID in interface DeclarativePlSqlpublic void setReturnTypeID(DBObjectID returnTypeID)
setReturnTypeID in interface DeclarativePlSqlpublic void setParameters(PlSqlParameter[] newParams)
setParameters in interface DeclarativePlSqlnewParams - an array containing the new list of parameterspublic PlSqlParameter[] getParameters()
getParameters in interface DeclarativePlSqlpublic void addParameter(PlSqlParameter p)
addParameter in interface DeclarativePlSqlp - the new parameter to add
public void addParameter(int index,
PlSqlParameter param)
addParameter in interface DeclarativePlSqlindex - the index to add the new parameter atparam - the new parameter to addpublic PlSqlParameter getParameter(java.lang.String name)
getParameter in interface DeclarativePlSqla - string containing the desired parameter
nullpublic void removeParameter(PlSqlParameter param)
removeParameter in interface DeclarativePlSqlparam - the parameter to remove@Deprecated public java.lang.String getBody()
getBody in interface DeclarativePlSql@Deprecated public void setBody(java.lang.String body)
setBody in interface DeclarativePlSqlpublic java.lang.String getSignature()
getSignature in interface DeclarativePlSqlprotected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractBuildableObject
getReferenceIDsImpl in class AbstractBuildableObjectrefs - the collection of ids this object references
protected void getOwnedObjectsImpl(java.util.Collection<DBObject> c,
java.lang.String[] types)
AbstractBuildableObject
getOwnedObjectsImpl in class AbstractBuildableObjectc - a Collection of the apppropriate children.types - a vararg of the type(s) to search forAbstractDBObject.includesType(java.lang.String, java.lang.String...)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||