|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-04 |
|||||||||
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. |
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(PlSqlMethod copy,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object target)
|
boolean |
equalsImpl(PlSqlMethod target)
|
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 |
---|
copyToImpl, findParent, getParent, setParent |
Methods inherited from class oracle.javatools.db.AbstractDBObject |
---|
changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyToImpl, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getOwnedObjectsImpl, getProperties, getProperty, getProperty, getReferenceIDs, getReferenceIDsImpl, hashCode, includeOwnedObject, includesType, includesType, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setProperty, 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 nameMethod Detail |
---|
public DBObject copyTo(DBObject target, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
This method does not fix internal reference ids on copy. That is done by
the calling DBObject.copyTo(DBObject, IDPolicy)
method.
copyTo
in class AbstractDBObject
DBObject.copyTo(java.lang.Object)
,
DBObject.copyTo(DBObject, boolean)
,
AbstractDBObject.copyToImpl(oracle.javatools.db.AbstractDBObject, oracle.javatools.db.DBObject, oracle.javatools.db.IDPolicy)
public boolean equals(java.lang.Object target)
equals
in class java.lang.Object
protected void copyToImpl(PlSqlMethod copy, DBObject copyParent, IDPolicy idPolicy)
public boolean equalsImpl(PlSqlMethod target)
public 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 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 parameter
null
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
public 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()
DBObject
getType
in interface DBObject
public 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) E13403-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |