|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
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 | |
---|---|
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. |
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 |
---|
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, 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, getReferenceIDs, replaceReferenceIDs, setID, setName |
Methods inherited from interface oracle.javatools.util.DynamicPropertySet |
---|
getProperties, getProperty, setProperties |
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 |
---|
protected void copyToImpl(AbstractDBObject other, DBObject copyParent, IDPolicy idPolicy)
AbstractDBObject
copyToImpl
in class AbstractChildDBObject
other
- 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)
AbstractDBObject
equalsImpl
in class AbstractDBObject
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)
insteadprotected 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.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |