public class PLSQLrecord extends ComplexDatabaseType implements OraclePLSQLType, java.lang.Cloneable
DatabaseType.DatabaseTypeHelper
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
Constructor and Description |
---|
PLSQLrecord() |
Modifier and Type | Method and Description |
---|---|
void |
addField(PLSQLargument field) |
void |
addField(java.lang.String fieldName,
DatabaseType databaseType) |
void |
addField(java.lang.String fieldName,
DatabaseType databaseType,
int length) |
void |
addField(java.lang.String fieldName,
DatabaseType databaseType,
int precision,
int scale) |
void |
buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call) |
void |
buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg) |
void |
buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call) |
void |
buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg) |
void |
buildOutputRow(PLSQLargument outArg,
AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.List<DatabaseField> outputRowFields,
java.util.List outputRowValues) |
PLSQLrecord |
clone() |
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<PLSQLargument> iterator) |
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<PLSQLargument> iterator) |
java.util.List<PLSQLargument> |
getFields()
Return the record's fields defined as PLSQLargument.
|
int |
getSqlCode() |
boolean |
isRecord() |
void |
logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
AbstractRecord translationRow,
DatabasePlatform platform) |
void |
translate(PLSQLargument arg,
AbstractRecord translationRow,
AbstractRecord copyOfTranslationRow,
java.util.List<DatabaseField> copyOfTranslationFields,
java.util.List<DatabaseField> translationRowFields,
java.util.List translationRowValues,
StoredProcedureCall call) |
getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isComplexDatabaseType, isCursor, isJDBCType, isStruct, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConversionCode, getTypeName, isComplexDatabaseType, isJDBCType
public PLSQLrecord clone()
clone
in class ComplexDatabaseType
public boolean isRecord()
isRecord
in class ComplexDatabaseType
public java.util.List<PLSQLargument> getFields()
public int getSqlCode()
getSqlCode
in interface DatabaseType
public void addField(PLSQLargument field)
public void addField(java.lang.String fieldName, DatabaseType databaseType)
public void addField(java.lang.String fieldName, DatabaseType databaseType, int precision, int scale)
public void addField(java.lang.String fieldName, DatabaseType databaseType, int length)
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
computeInIndex
in interface DatabaseType
computeInIndex
in class ComplexDatabaseType
public int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
computeOutIndex
in interface DatabaseType
computeOutIndex
in class ComplexDatabaseType
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
buildInDeclare
in interface DatabaseType
buildInDeclare
in class ComplexDatabaseType
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
buildOutDeclare
in interface DatabaseType
buildOutDeclare
in class ComplexDatabaseType
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock
in interface DatabaseType
buildBeginBlock
in class ComplexDatabaseType
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
buildOutAssignment
in interface DatabaseType
buildOutAssignment
in class ComplexDatabaseType
public void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
translate
in interface DatabaseType
translate
in class ComplexDatabaseType
public void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)
buildOutputRow
in interface DatabaseType
buildOutputRow
in class ComplexDatabaseType
public void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)
logParameter
in interface DatabaseType
logParameter
in class ComplexDatabaseType
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference