Class OracleObjectType
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.ComplexDatabaseType
-
- org.eclipse.persistence.platform.database.oracle.jdbc.OracleObjectType
-
- All Implemented Interfaces:
Cloneable
,DatabaseType
public class OracleObjectType extends ComplexDatabaseType implements Cloneable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,DatabaseType>
fields
protected int
lastFieldIdx
-
Fields inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
compatibleType, javaType, javaTypeName, typeName
-
Fields inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description OracleObjectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
String
getCompatibleType()
Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type nameMap<String,DatabaseType>
getFields()
int
getLastFieldIndex()
int
getSqlCode()
boolean
isComplexDatabaseType()
boolean
isJDBCType()
boolean
isStruct()
void
setCompatibleType(String compatibleType)
Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type namevoid
setFields(Map<String,DatabaseType> fields)
void
setLastFieldIndex(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, setJavaType, setJavaTypeName, setTypeName, toString, translate
-
-
-
-
Field Detail
-
lastFieldIdx
protected int lastFieldIdx
-
fields
protected Map<String,DatabaseType> fields
-
-
Method Detail
-
getLastFieldIndex
public int getLastFieldIndex()
-
setLastFieldIndex
public void setLastFieldIndex(int lastFieldIdx)
-
getFields
public Map<String,DatabaseType> getFields()
-
setFields
public void setFields(Map<String,DatabaseType> fields)
-
isJDBCType
public boolean isJDBCType()
- Specified by:
isJDBCType
in interfaceDatabaseType
- Overrides:
isJDBCType
in classComplexDatabaseType
-
isComplexDatabaseType
public boolean isComplexDatabaseType()
- Specified by:
isComplexDatabaseType
in interfaceDatabaseType
- Overrides:
isComplexDatabaseType
in classComplexDatabaseType
-
isStruct
public boolean isStruct()
- Overrides:
isStruct
in classComplexDatabaseType
-
getSqlCode
public int getSqlCode()
- Specified by:
getSqlCode
in interfaceDatabaseType
-
getCompatibleType
public String getCompatibleType()
Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
getCompatibleType
in classComplexDatabaseType
-
setCompatibleType
public void setCompatibleType(String compatibleType)
Oracle STRUCT types don't have a compatible type like PL/SQL types do, so we will use the type name- Overrides:
setCompatibleType
in classComplexDatabaseType
-
buildBeginBlock
public void buildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
- Specified by:
buildBeginBlock
in interfaceDatabaseType
- Overrides:
buildBeginBlock
in classComplexDatabaseType
-
buildInDeclare
public void buildInDeclare(StringBuilder sb, PLSQLargument inArg)
- Specified by:
buildInDeclare
in interfaceDatabaseType
- Overrides:
buildInDeclare
in classComplexDatabaseType
-
buildOutDeclare
public void buildOutDeclare(StringBuilder sb, PLSQLargument outArg)
- Specified by:
buildOutDeclare
in interfaceDatabaseType
- Overrides:
buildOutDeclare
in classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
- Specified by:
buildOutAssignment
in interfaceDatabaseType
- Overrides:
buildOutAssignment
in classComplexDatabaseType
-
-