oracle.toplink.platform.database.oracle
Class PLSQLrecord
java.lang.Object
oracle.toplink.platform.database.oracle.PLSQLrecord
- All Implemented Interfaces:
- java.lang.Cloneable, oracle.toplink.internal.helper.ComplexDatabaseType, oracle.toplink.internal.helper.DatabaseType, oracle.toplink.internal.helper.SimpleDatabaseType, OraclePLSQLType
public class PLSQLrecord
- extends java.lang.Object
- implements oracle.toplink.internal.helper.ComplexDatabaseType, OraclePLSQLType, java.lang.Cloneable
PUBLIC: describe an Oracle PL/SQL Record type
- Since:
- Oracle TopLink 11.x.x
Nested classes/interfaces inherited from interface oracle.toplink.internal.helper.DatabaseType |
oracle.toplink.internal.helper.DatabaseType.DatabaseTypeHelper |
Fields inherited from interface oracle.toplink.internal.helper.DatabaseType |
COMPAT_SUFFIX, TARGET_SUFFIX |
Method Summary |
void |
addField(java.lang.String fieldName,
oracle.toplink.internal.helper.DatabaseType databaseType)
|
void |
addField(java.lang.String fieldName,
oracle.toplink.internal.helper.DatabaseType databaseType,
int length)
|
void |
addField(java.lang.String fieldName,
oracle.toplink.internal.helper.DatabaseType databaseType,
int precision,
int scale)
|
void |
buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg)
|
void |
buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
|
void |
buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg)
|
void |
buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
|
void |
buildOutputRow(PLSQLargument outArg,
oracle.toplink.internal.sessions.AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.Vector outputRowFields,
java.util.Vector outputRowValues)
|
PLSQLrecord |
clone()
|
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
|
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
|
PLSQLStoredProcedureCall |
getCall()
|
java.lang.String |
getCompatibleType()
|
int |
getConversionCode()
|
java.lang.String |
getRecordName()
|
int |
getSqlCode()
|
java.lang.String |
getTypeName()
|
boolean |
hasCompatibleType()
|
boolean |
isComplexDatabaseType()
|
boolean |
isJDBCType()
|
void |
logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
oracle.toplink.internal.sessions.AbstractRecord translationRow,
DatabasePlatform platform)
|
void |
setCall(PLSQLStoredProcedureCall call)
|
void |
setCompatibleType(java.lang.String compatibleType)
|
void |
setHasCompatibleType(boolean hasCompatibleType)
|
void |
setRecordName(java.lang.String name)
|
void |
setTypeName(java.lang.String typeName)
|
void |
translate(PLSQLargument arg,
oracle.toplink.internal.sessions.AbstractRecord translationRow,
oracle.toplink.internal.sessions.AbstractRecord copyOfTranslationRow,
java.util.Vector copyOfTranslationFields,
java.util.Vector translationRowFields,
java.util.Vector translationRowValues)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLSQLrecord
public PLSQLrecord()
clone
public PLSQLrecord clone()
- Specified by:
clone
in interface oracle.toplink.internal.helper.ComplexDatabaseType
- Overrides:
clone
in class java.lang.Object
isComplexDatabaseType
public boolean isComplexDatabaseType()
- Specified by:
isComplexDatabaseType
in interface oracle.toplink.internal.helper.DatabaseType
isJDBCType
public boolean isJDBCType()
- Specified by:
isJDBCType
in interface oracle.toplink.internal.helper.DatabaseType
getRecordName
public java.lang.String getRecordName()
setRecordName
public void setRecordName(java.lang.String name)
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in interface oracle.toplink.internal.helper.DatabaseType
setTypeName
public void setTypeName(java.lang.String typeName)
hasCompatibleType
public boolean hasCompatibleType()
- Specified by:
hasCompatibleType
in interface oracle.toplink.internal.helper.ComplexDatabaseType
setHasCompatibleType
public void setHasCompatibleType(boolean hasCompatibleType)
getCompatibleType
public java.lang.String getCompatibleType()
- Specified by:
getCompatibleType
in interface oracle.toplink.internal.helper.ComplexDatabaseType
setCompatibleType
public void setCompatibleType(java.lang.String compatibleType)
getSqlCode
public int getSqlCode()
- Specified by:
getSqlCode
in interface oracle.toplink.internal.helper.DatabaseType
getConversionCode
public int getConversionCode()
- Specified by:
getConversionCode
in interface oracle.toplink.internal.helper.DatabaseType
getCall
public PLSQLStoredProcedureCall getCall()
setCall
public void setCall(PLSQLStoredProcedureCall call)
- Specified by:
setCall
in interface oracle.toplink.internal.helper.ComplexDatabaseType
addField
public void addField(java.lang.String fieldName,
oracle.toplink.internal.helper.DatabaseType databaseType)
addField
public void addField(java.lang.String fieldName,
oracle.toplink.internal.helper.DatabaseType databaseType,
int precision,
int scale)
addField
public void addField(java.lang.String fieldName,
oracle.toplink.internal.helper.DatabaseType databaseType,
int length)
computeInIndex
public int computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
- Specified by:
computeInIndex
in interface oracle.toplink.internal.helper.DatabaseType
computeOutIndex
public int computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<oracle.toplink.platform.database.oracle.PLSQLargument> i)
- Specified by:
computeOutIndex
in interface oracle.toplink.internal.helper.DatabaseType
buildInDeclare
public void buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
- Specified by:
buildInDeclare
in interface oracle.toplink.internal.helper.DatabaseType
buildOutDeclare
public void buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
- Specified by:
buildOutDeclare
in interface oracle.toplink.internal.helper.DatabaseType
buildBeginBlock
public void buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg)
- Specified by:
buildBeginBlock
in interface oracle.toplink.internal.helper.DatabaseType
buildOutAssignment
public void buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg)
- Specified by:
buildOutAssignment
in interface oracle.toplink.internal.helper.DatabaseType
translate
public void translate(PLSQLargument arg,
oracle.toplink.internal.sessions.AbstractRecord translationRow,
oracle.toplink.internal.sessions.AbstractRecord copyOfTranslationRow,
java.util.Vector copyOfTranslationFields,
java.util.Vector translationRowFields,
java.util.Vector translationRowValues)
- Specified by:
translate
in interface oracle.toplink.internal.helper.DatabaseType
buildOutputRow
public void buildOutputRow(PLSQLargument outArg,
oracle.toplink.internal.sessions.AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.Vector outputRowFields,
java.util.Vector outputRowValues)
- Specified by:
buildOutputRow
in interface oracle.toplink.internal.helper.DatabaseType
logParameter
public void logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
oracle.toplink.internal.sessions.AbstractRecord translationRow,
DatabasePlatform platform)
- Specified by:
logParameter
in interface oracle.toplink.internal.helper.DatabaseType