public class PLSQLrecord extends org.eclipse.persistence.internal.helper.ComplexDatabaseType implements OraclePLSQLType, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.util.List<PLSQLargument> |
fields |
compatibleType, javaType, javaTypeName, typeName
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV
Constructor and Description |
---|
PLSQLrecord() |
Modifier and Type | Method and Description |
---|---|
void |
addField(PLSQLargument field) |
void |
addField(java.lang.String fieldName,
org.eclipse.persistence.internal.helper.DatabaseType databaseType) |
void |
addField(java.lang.String fieldName,
org.eclipse.persistence.internal.helper.DatabaseType databaseType,
int length) |
void |
addField(java.lang.String fieldName,
org.eclipse.persistence.internal.helper.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,
org.eclipse.persistence.internal.sessions.AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.List<org.eclipse.persistence.internal.helper.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,
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,
java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> copyOfTranslationFields,
java.util.List<org.eclipse.persistence.internal.helper.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
protected java.util.List<PLSQLargument> fields
public PLSQLrecord clone()
clone
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public boolean isRecord()
isRecord
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public java.util.List<PLSQLargument> getFields()
public int getSqlCode()
getSqlCode
in interface org.eclipse.persistence.internal.helper.DatabaseType
public void addField(PLSQLargument field)
public void addField(java.lang.String fieldName, org.eclipse.persistence.internal.helper.DatabaseType databaseType)
public void addField(java.lang.String fieldName, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int precision, int scale)
public void addField(java.lang.String fieldName, org.eclipse.persistence.internal.helper.DatabaseType databaseType, int length)
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
computeInIndex
in interface org.eclipse.persistence.internal.helper.DatabaseType
computeInIndex
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
computeOutIndex
in interface org.eclipse.persistence.internal.helper.DatabaseType
computeOutIndex
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
buildInDeclare
in interface org.eclipse.persistence.internal.helper.DatabaseType
buildInDeclare
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
buildOutDeclare
in interface org.eclipse.persistence.internal.helper.DatabaseType
buildOutDeclare
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock
in interface org.eclipse.persistence.internal.helper.DatabaseType
buildBeginBlock
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
buildOutAssignment
in interface org.eclipse.persistence.internal.helper.DatabaseType
buildOutAssignment
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void translate(PLSQLargument arg, org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, org.eclipse.persistence.internal.sessions.AbstractRecord copyOfTranslationRow, java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> copyOfTranslationFields, java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
translate
in interface org.eclipse.persistence.internal.helper.DatabaseType
translate
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void buildOutputRow(PLSQLargument outArg, org.eclipse.persistence.internal.sessions.AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<org.eclipse.persistence.internal.helper.DatabaseField> outputRowFields, java.util.List outputRowValues)
buildOutputRow
in interface org.eclipse.persistence.internal.helper.DatabaseType
buildOutputRow
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType
public void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, org.eclipse.persistence.internal.sessions.AbstractRecord translationRow, DatabasePlatform platform)
logParameter
in interface org.eclipse.persistence.internal.helper.DatabaseType
logParameter
in class org.eclipse.persistence.internal.helper.ComplexDatabaseType