Module org.eclipse.persistence.core
Class PLSQLCollection
java.lang.Object
org.eclipse.persistence.internal.helper.ComplexDatabaseType
org.eclipse.persistence.platform.database.oracle.plsql.PLSQLCollection
- All Implemented Interfaces:
Cloneable
,DatabaseType
,SimpleDatabaseType
,OraclePLSQLType
PUBLIC: Marker interface for Oracle PL/SQL Collections (Nested Tables and Varrays)
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected DatabaseType
Defines the database type of the value contained in the collection type.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
Fields inherited from interface org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLType
PLSQLBoolean_IN_CONV, PLSQLBoolean_OUT_CONV
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the database type of the value contained in the collection type.int
boolean
boolean
Indicates if the instance represents a Nested Table (as opposed to Varray).void
setIsNestedTable
(boolean isNestedTable) Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray)void
setNestedType
(DatabaseType nestedType) Set the database type of the value contained in the collection type.Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildBeginBlock, buildInDeclare, buildOutAssignment, buildOutDeclare, buildOutputRow, computeInIndex, computeOutIndex, getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isComplexDatabaseType, isCursor, isJDBCType, isRecord, isStruct, logParameter, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toString, translate
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
buildBeginBlock, buildInDeclare, buildOutAssignment, buildOutDeclare, buildOutputRow, computeInIndex, computeOutIndex, getConversionCode, getTypeName, isComplexDatabaseType, isJDBCType, logParameter, translate
-
Field Details
-
nestedType
Defines the database type of the value contained in the collection type.i.e. the OF type.
This could be a JDBC type, PLSQL type, or a PLSQL RECORD type.
-
isNestedTable
protected boolean isNestedTable
-
-
Constructor Details
-
PLSQLCollection
public PLSQLCollection()The default constructor sets javaType to ArrayList.class
-
-
Method Details
-
clone
- Overrides:
clone
in classComplexDatabaseType
-
isCollection
public boolean isCollection()- Overrides:
isCollection
in classComplexDatabaseType
-
isNestedTable
public boolean isNestedTable()Indicates if the instance represents a Nested Table (as opposed to Varray). Defaults to false, i.e. Varray. -
getNestedType
Return the database type of the value contained in the collection type. -
setIsNestedTable
public void setIsNestedTable(boolean isNestedTable) Set boolean that indicates if the instance represents a Nested Table (as opposed to Varray) -
setNestedType
Set the database type of the value contained in the collection type.i.e. the OF type.
This could be a JDBC type, PLSQL type, or a PLSQL RECORD type.
-
getSqlCode
public int getSqlCode()- Specified by:
getSqlCode
in interfaceDatabaseType
-