Class OracleObjectType
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.ComplexDatabaseType
-
- org.eclipse.persistence.platform.database.oracle.jdbc.OracleObjectType
-
- All Implemented Interfaces:
java.lang.Cloneable,org.eclipse.persistence.internal.helper.DatabaseType
public class OracleObjectType extends org.eclipse.persistence.internal.helper.ComplexDatabaseType implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType>fieldsprotected intlastFieldIdx
-
Constructor Summary
Constructors Constructor Description OracleObjectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)voidbuildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)voidbuildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)voidbuildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)java.lang.StringgetCompatibleType()Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type namejava.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType>getFields()intgetLastFieldIndex()intgetSqlCode()booleanisComplexDatabaseType()booleanisJDBCType()booleanisStruct()voidsetCompatibleType(java.lang.String compatibleType)Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type namevoidsetFields(java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> fields)voidsetLastFieldIndex(int lastFieldIdx)-
Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildOutputRow, clone, computeInIndex, computeOutIndex, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isCursor, isRecord, logParameter, logParameter, setJavaType, setJavaTypeName, setTypeName, toString, translate
-
-
-
-
Method Detail
-
getLastFieldIndex
public int getLastFieldIndex()
-
setLastFieldIndex
public void setLastFieldIndex(int lastFieldIdx)
-
getFields
public java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> getFields()
-
setFields
public void setFields(java.util.Map<java.lang.String,org.eclipse.persistence.internal.helper.DatabaseType> fields)
-
isJDBCType
public boolean isJDBCType()
- Specified by:
isJDBCTypein interfaceorg.eclipse.persistence.internal.helper.DatabaseType- Overrides:
isJDBCTypein classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
isComplexDatabaseType
public boolean isComplexDatabaseType()
- Specified by:
isComplexDatabaseTypein interfaceorg.eclipse.persistence.internal.helper.DatabaseType- Overrides:
isComplexDatabaseTypein classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
isStruct
public boolean isStruct()
- Overrides:
isStructin classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
getSqlCode
public int getSqlCode()
- Specified by:
getSqlCodein interfaceorg.eclipse.persistence.internal.helper.DatabaseType
-
getCompatibleType
public 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- Overrides:
getCompatibleTypein classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
setCompatibleType
public 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- Overrides:
setCompatibleTypein classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildBeginBlock
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)- Specified by:
buildBeginBlockin interfaceorg.eclipse.persistence.internal.helper.DatabaseType- Overrides:
buildBeginBlockin classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildInDeclare
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)- Specified by:
buildInDeclarein interfaceorg.eclipse.persistence.internal.helper.DatabaseType- Overrides:
buildInDeclarein classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildOutDeclare
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)- Specified by:
buildOutDeclarein interfaceorg.eclipse.persistence.internal.helper.DatabaseType- Overrides:
buildOutDeclarein classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)- Specified by:
buildOutAssignmentin interfaceorg.eclipse.persistence.internal.helper.DatabaseType- Overrides:
buildOutAssignmentin classorg.eclipse.persistence.internal.helper.ComplexDatabaseType
-
-