|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.db.AbstractDBObject
oracle.javatools.db.AbstractChildDBObject
oracle.javatools.db.PlSqlMethod
public class PlSqlMethod
Model of a method in a PL/SQL object. For example a Type or Package can contain methods.
| Nested Class Summary | |
|---|---|
static class |
PlSqlMethod.CallSpecLanguage |
static class |
PlSqlMethod.MethodType |
| Nested classes/interfaces inherited from class oracle.javatools.db.AbstractDBObject |
|---|
AbstractDBObject.ChildSupport |
| Field Summary | |
|---|---|
static java.lang.String |
TYPE |
| Fields inherited from interface oracle.javatools.db.DBObject |
|---|
COMMENT |
| Constructor Summary | |
|---|---|
PlSqlMethod()Constructs a new object type method. |
|
PlSqlMethod(java.lang.String name)Constructs a new object type method with the specified name. |
|
| 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 other, DBObject copyParent, IDPolicy idPolicy)Implementation method for making a copy of this object. |
protected boolean |
equalsImpl(AbstractDBObject other)Equals implementation for testing equality with another AbstractDBObject. |
java.lang.String |
getBody()Deprecated. |
PlSqlMethod.CallSpecLanguage |
getCallSpecLanguage() |
java.lang.String |
getCallSpecLibName() |
java.lang.String |
getCallSpecName() |
PlSqlMethod.MethodType |
getMethodType() |
PlSqlParameter |
getParameter(java.lang.String name)Retrieves one parameter by name. |
PlSqlParameter[] |
getParameters()Retrieves the list of parameters going into the PlSql subprogram |
DataType |
getReturnType()Deprecated. - use getReturnTypeID() |
DBObjectID |
getReturnTypeID() |
java.lang.String |
getSignature() |
SpecPlSql |
getSpecPlSql()Gets the ComplexType that owns this method. |
java.lang.String |
getSqljSigName() |
java.lang.String |
getSqljSigVarName() |
java.lang.String |
getType()Returns the type of this object. |
boolean |
isCallSpecWithContext() |
boolean |
isFinal() |
boolean |
isInstantiable() |
boolean |
isOverriding() |
void |
removeParameter(PlSqlParameter param)Removes a parameter from this Pl/Sql subprogram. |
void |
setBody(java.lang.String body)Deprecated. |
void |
setCallSpecLanguage(PlSqlMethod.CallSpecLanguage callSpecLanguage) |
void |
setCallSpecLibName(java.lang.String callSpecLibName) |
void |
setCallSpecName(java.lang.String callSpecName) |
void |
setCallSpecWithContext(boolean callSpecWithContext) |
void |
setFinal(boolean isfinal) |
void |
setInstantiable(boolean instantiable) |
void |
setMethodType(PlSqlMethod.MethodType methodType) |
void |
setOverriding(boolean overriding) |
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) |
void |
setSpecPlSql(SpecPlSql object)Sets the ComplexType that owns this method. |
void |
setSqljSigName(java.lang.String sqljSigName) |
void |
setSqljSigVarName(java.lang.String sqljSigVarName) |
| Methods inherited from class oracle.javatools.db.AbstractChildDBObject |
|---|
findParent, getParent, getProperty, setParent, 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, getOwnedObjectsImpl, getProperties, getProperty, getReferenceIDs, getReferenceIDsImpl, 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 |
|---|
public static final java.lang.String TYPE
| Constructor Detail |
|---|
public PlSqlMethod()
public PlSqlMethod(java.lang.String name)
name - a string containing the method name| Method Detail |
|---|
protected void copyToImpl(AbstractDBObject other,
DBObject copyParent,
IDPolicy idPolicy)
AbstractDBObjectcopyToImpl in class AbstractChildDBObjectother - 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 other)
AbstractDBObjectequalsImpl in class AbstractDBObjectpublic void setMethodType(PlSqlMethod.MethodType methodType)
public PlSqlMethod.MethodType getMethodType()
public void setFinal(boolean isfinal)
public boolean isFinal()
public void setOverriding(boolean overriding)
public boolean isOverriding()
public void setInstantiable(boolean instantiable)
public boolean isInstantiable()
public void setCallSpecLanguage(PlSqlMethod.CallSpecLanguage callSpecLanguage)
public PlSqlMethod.CallSpecLanguage getCallSpecLanguage()
public void setCallSpecName(java.lang.String callSpecName)
public java.lang.String getCallSpecName()
public void setCallSpecLibName(java.lang.String callSpecLibName)
public java.lang.String getCallSpecLibName()
public void setCallSpecWithContext(boolean callSpecWithContext)
public boolean isCallSpecWithContext()
@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 parameternullpublic 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 DeclarativePlSqlpublic SpecPlSql getSpecPlSql()
ComplexType that owns this method.public void setSpecPlSql(SpecPlSql object)
ComplexType that owns this method.relation - the object type that owns this method.public java.lang.String getType()
DBObjectgetType in interface DBObjectpublic void setSqljSigName(java.lang.String sqljSigName)
public java.lang.String getSqljSigName()
public void setSqljSigVarName(java.lang.String sqljSigVarName)
public java.lang.String getSqljSigVarName()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||