|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
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.PlSqlParameter
public class PlSqlParameter
Model of a parameter to a PL/SQL subprogram like a function or the method of an object type.
Nested Class Summary | |
---|---|
static class |
PlSqlParameter.Mode
|
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 | |
---|---|
PlSqlParameter()
Constructs a new object type attribute. |
|
PlSqlParameter(java.lang.String name)
Constructs a new object type attribute with the specified name. |
|
PlSqlParameter(java.lang.String name,
DataType dataType)
Constructs a new attribute with the specified name and datatype. |
Method Summary | |
---|---|
DBObject |
copyTo(DBObject target,
DBObject copyParent,
IDPolicy idPolicy)
Internal copy method used by the API to perform copy operations. |
protected void |
copyToImpl(PlSqlParameter copy,
DBObject copyParent,
IDPolicy idPolicy)
|
boolean |
equals(java.lang.Object target)
|
boolean |
equalsImpl(PlSqlParameter copy)
|
DataType |
getDataType()
Deprecated. use getDataTypeID() instead |
void |
getDataType(DataType datatype)
Deprecated. use setDataTypeID(oracle.javatools.db.DBObjectID) instead |
DBObjectID |
getDataTypeID()
|
java.lang.String |
getDefaultValue()
|
PlSqlParameter.Mode |
getMode()
|
DeclarativePlSql |
getPlSql()
Gets the PL/SQL routine that owns this parameter. |
protected void |
getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
Used by the final getReferenceID() implementation. |
java.lang.String |
getType()
Returns the type of this object. |
boolean |
isNoCopy()
|
void |
setDataTypeID(DBObjectID dataTypeID)
|
void |
setDefaultValue(java.lang.String def)
|
void |
setMode(PlSqlParameter.Mode mode)
|
void |
setNoCopy(boolean noCopy)
|
void |
setPlSql(DeclarativePlSql object)
Sets the ComplexType that owns this attribute. |
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, 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, 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 PlSqlParameter()
public PlSqlParameter(java.lang.String name)
name
- a string containing the attribute namepublic PlSqlParameter(java.lang.String name, DataType dataType)
name
- a string containing the attribute namedataType
- the datatype of the attributeMethod 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)
protected void copyToImpl(PlSqlParameter copy, DBObject copyParent, IDPolicy idPolicy)
public boolean equals(java.lang.Object target)
equals
in class java.lang.Object
public boolean equalsImpl(PlSqlParameter copy)
public DeclarativePlSql getPlSql()
public DBObjectID getDataTypeID()
public void setDataTypeID(DBObjectID dataTypeID)
public PlSqlParameter.Mode getMode()
public void setMode(PlSqlParameter.Mode mode)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String def)
public void setNoCopy(boolean noCopy)
public boolean isNoCopy()
public void setPlSql(DeclarativePlSql object)
ComplexType
that owns this attribute.
relation
- the object type that owns this attribute.public java.lang.String getType()
DBObject
@Deprecated public DataType getDataType()
getDataTypeID()
instead
@Deprecated public void getDataType(DataType datatype)
setDataTypeID(oracle.javatools.db.DBObjectID)
instead
protected void getReferenceIDsImpl(java.util.Collection<DBObjectID> refs)
AbstractDBObject
getReferenceIDsImpl
in class AbstractDBObject
refs
- the collection of ids this object references
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |