public class OracleObjectType
extends org.eclipse.persistence.internal.helper.ComplexDatabaseType
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> |
fields |
protected int |
lastFieldIdx |
| Constructor and Description |
|---|
OracleObjectType() |
| Modifier and Type | Method and Description |
|---|---|
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) |
java.lang.String |
getCompatibleType()
Oracle STRUCT types don't have a compatible type like PL/SQL
types do, so we will use the type name
|
java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> |
getFields() |
int |
getLastFieldIndex() |
int |
getSqlCode() |
boolean |
isComplexDatabaseType() |
boolean |
isJDBCType() |
boolean |
isStruct() |
void |
setCompatibleType(java.lang.String compatibleType)
Oracle STRUCT types don't have a compatible type like PL/SQL
types do, so we will use the type name
|
void |
setFields(java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> fields) |
void |
setLastFieldIndex(int lastFieldIdx) |
buildOutputRow, clone, computeInIndex, computeOutIndex, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isCursor, isRecord, logParameter, setJavaType, setJavaTypeName, setTypeName, toString, translateprotected int lastFieldIdx
protected java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> fields
public int getLastFieldIndex()
public void setLastFieldIndex(int lastFieldIdx)
public java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> getFields()
public void setFields(java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> fields)
public boolean isJDBCType()
isJDBCType in interface org.eclipse.persistence.internal.helper.DatabaseTypeisJDBCType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic boolean isComplexDatabaseType()
isComplexDatabaseType in interface org.eclipse.persistence.internal.helper.DatabaseTypeisComplexDatabaseType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic boolean isStruct()
isStruct in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic int getSqlCode()
getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseTypepublic java.lang.String getCompatibleType()
getCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void setCompatibleType(java.lang.String compatibleType)
setCompatibleType in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildBeginBlock(java.lang.StringBuilder sb,
PLSQLargument arg,
PLSQLStoredProcedureCall call)
buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildInDeclare(java.lang.StringBuilder sb,
PLSQLargument inArg)
buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutDeclare(java.lang.StringBuilder sb,
PLSQLargument outArg)
buildOutDeclare in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseTypepublic void buildOutAssignment(java.lang.StringBuilder sb,
PLSQLargument outArg,
PLSQLStoredProcedureCall call)
buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseTypebuildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseType