public class PLSQLrecord extends org.eclipse.persistence.internal.helper.ComplexDatabaseType implements OraclePLSQLType, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected List<PLSQLargument> |
fields |
compatibleType, javaType, javaTypeName, typeNamePLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV| Constructor and Description |
|---|
PLSQLrecord() |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(PLSQLargument field) |
void |
addField(String fieldName,
org.eclipse.persistence.internal.helper.DatabaseType databaseType) |
void |
addField(String fieldName,
org.eclipse.persistence.internal.helper.DatabaseType databaseType,
int length) |
void |
addField(String fieldName,
org.eclipse.persistence.internal.helper.DatabaseType databaseType,
int precision,
int scale) |
void |
buildBeginBlock(StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call) |
void |
buildInDeclare(StringBuilder sb,
PLSQLargument inArg) |
void |
buildOutAssignment(StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call) |
void |
buildOutDeclare(StringBuilder sb,
PLSQLargument outArg) |
void |
buildOutputRow(PLSQLargument outArg,
org.eclipse.persistence.internal.sessions.AbstractRecord outputRow,
DatabaseRecord newOutputRow,
List<org.eclipse.persistence.internal.helper.DatabaseField> outputRowFields,
List outputRowValues) |
PLSQLrecord |
clone() |
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
ListIterator<PLSQLargument> iterator) |
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
ListIterator<PLSQLargument> iterator) |
List<PLSQLargument> |
getFields()
Return the record's fields defined as PLSQLargument.
|
int |
getSqlCode() |
boolean |
isRecord() |
void |
logParameter(StringBuilder sb,
Integer direction,
PLSQLargument arg,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
DatabasePlatform platform) |
void |
translate(PLSQLargument arg,
org.eclipse.persistence.internal.sessions.AbstractRecord translationRow,
org.eclipse.persistence.internal.sessions.AbstractRecord copyOfTranslationRow,
List<org.eclipse.persistence.internal.helper.DatabaseField> copyOfTranslationFields,
List<org.eclipse.persistence.internal.helper.DatabaseField> translationRowFields,
List translationRowValues,
StoredProcedureCall call) |
getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isComplexDatabaseType, isCursor, isJDBCType, isStruct, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toStringprotected List<PLSQLargument> fields
public PLSQLrecord clone()
clone in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic boolean isRecord()
isRecord in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic List<PLSQLargument> getFields()
public int getSqlCode()
getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseTypepublic void addField(PLSQLargument field)
public void addField(String fieldName, org.eclipse.persistence.internal.helper.DatabaseType databaseType)
public void addField(String fieldName, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int precision, int scale)
public void addField(String fieldName, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int length)
public int computeInIndex(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> iterator)
computeInIndex in interface org.eclipse.persistence.internal.helper.DatabaseTypecomputeInIndex in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic int computeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator)
computeOutIndex in interface org.eclipse.persistence.internal.helper.DatabaseTypecomputeOutIndex in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildInDeclare(StringBuilder sb, PLSQLargument inArg)
buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutDeclare(StringBuilder sb, PLSQLargument outArg)
buildOutDeclare in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void translate(PLSQLargument arg, org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, org.eclipse.persistence.internal.sessions.AbstractRecord copyOfTranslationRow, List<org.eclipse.persistence.internal.helper.DatabaseField> copyOfTranslationFields, List<org.eclipse.persistence.internal.helper.DatabaseField> translationRowFields, List translationRowValues, StoredProcedureCall call)
translate in interface org.eclipse.persistence.internal.helper.DatabaseTypetranslate in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutputRow(PLSQLargument outArg, org.eclipse.persistence.internal.sessions.AbstractRecord outputRow, DatabaseRecord newOutputRow, List<org.eclipse.persistence.internal.helper.DatabaseField> outputRowFields, List outputRowValues)
buildOutputRow in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutputRow in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void logParameter(StringBuilder sb, Integer direction, PLSQLargument arg, org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, DatabasePlatform platform)
logParameter in interface org.eclipse.persistence.internal.helper.DatabaseTypelogParameter in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypeCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.