PlSqlSubProgram
instead@Deprecated public abstract class PlSqlSubprogram extends PlSql implements DeclarativePlSql
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport
BLOCK_TYPE
Constructor and Description |
---|
PlSqlSubprogram()
Deprecated.
|
PlSqlSubprogram(java.lang.String name, Schema schema)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addParameter(int index, PlSqlParameter param)
Deprecated.
Adds one parameter to this Pl/SQL subprogram at the given index.
|
void |
addParameter(PlSqlParameter p)
Deprecated.
Adds one parameter to this PlSql subprogram.
|
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.
|
java.lang.String |
getBody()
Deprecated.
|
protected void |
getOwnedObjectsImpl(java.util.Collection<DBObject> c, java.lang.String[] types)
Deprecated.
Implementation first checks that the object has been built - then returns the collection from suprt.getOwnedObjectsImpl().
|
PlSqlParameter |
getParameter(java.lang.String name)
Deprecated.
Retrieves one parameter by name.
|
PlSqlParameter[] |
getParameters()
Deprecated.
Retrieves the list of parameters going into the PlSql subprogram
|
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Deprecated.
Implementation first checks that the object has been built - then returns the collection from suprt.getReferenceIDsImpl().
|
DataType |
getReturnType()
Deprecated.
- use getReturnTypeID()
|
DBObjectID |
getReturnTypeID()
Deprecated.
|
java.lang.String |
getSignature()
Deprecated.
|
void |
removeParameter(PlSqlParameter param)
Deprecated.
Removes a parameter from this Pl/Sql subprogram.
|
void |
setBody(java.lang.String body)
Deprecated.
|
void |
setParameters(PlSqlParameter[] newParams)
Deprecated.
Sets the entire list of parameters, replacing any that have previously been added.
|
void |
setReturnType(DataType returnType)
Deprecated.
- use setReturnTypeID()
|
void |
setReturnTypeID(DBObjectID returnTypeID)
Deprecated.
|
getSource, getSourceInterrogator, isPlSql, setSource
getSchema, setSchema
fireObjectUpdated
checkInit, checkInit, getProperties, needsInitialization
addObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addObjectListener, copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperties, getReferenceIDs, getType, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName
getProperty, getProperty, setProperties, setProperty
addObjectListener, getSchema, removeObjectListener, setSchema
addObjectListener, fireObjectUpdated, removeObjectListener
public PlSqlSubprogram()
public PlSqlSubprogram(java.lang.String name, Schema schema)
protected void copyToImpl(AbstractDBObject copy, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
copyToImpl
in class PlSql
copy
- 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 DeclarativePlSql
public void setReturnTypeID(DBObjectID returnTypeID)
setReturnTypeID
in interface DeclarativePlSql
public void setParameters(PlSqlParameter[] newParams)
setParameters
in interface DeclarativePlSql
newParams
- an array containing the new list of parameterspublic PlSqlParameter[] getParameters()
getParameters
in interface DeclarativePlSql
public void addParameter(PlSqlParameter p)
addParameter
in interface DeclarativePlSql
p
- the new parameter to addpublic void addParameter(int index, PlSqlParameter param)
addParameter
in interface DeclarativePlSql
index
- the index to add the new parameter atparam
- the new parameter to addpublic PlSqlParameter getParameter(java.lang.String name)
getParameter
in interface DeclarativePlSql
a
- string containing the desired parameternull
public void removeParameter(PlSqlParameter param)
removeParameter
in interface DeclarativePlSql
param
- 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 DeclarativePlSql
public java.lang.String getSignature()
getSignature
in interface DeclarativePlSql
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractBuildableObject
getReferenceIDsImpl
in class AbstractBuildableObject
refs
- the collection of ids this object referencesprotected void getOwnedObjectsImpl(java.util.Collection<DBObject> c, java.lang.String[] types)
AbstractBuildableObject
getOwnedObjectsImpl
in class AbstractBuildableObject
c
- a Collection of the apppropriate children.types
- a vararg of the type(s) to search forAbstractDBObject.includesType(java.lang.String, java.lang.String...)