EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.platform.database.oracle.jdbc
Class OracleArrayType

java.lang.Object
  extended by org.eclipse.persistence.internal.helper.ComplexDatabaseType
      extended by org.eclipse.persistence.platform.database.oracle.jdbc.OracleArrayType
All Implemented Interfaces:
java.lang.Cloneable, org.eclipse.persistence.internal.helper.DatabaseType

public class OracleArrayType
extends org.eclipse.persistence.internal.helper.ComplexDatabaseType
implements java.lang.Cloneable


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
org.eclipse.persistence.internal.helper.DatabaseType.DatabaseTypeHelper
 
Field Summary
protected  org.eclipse.persistence.internal.helper.DatabaseType nestedType
          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
 
Constructor Summary
OracleArrayType()
           
 
Method Summary
 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)
           
 org.eclipse.persistence.internal.helper.DatabaseType getNestedType()
          Return the database type of the value contained in the collection type.
 int getSqlCode()
           
 boolean isCollection()
           
 boolean isComplexDatabaseType()
           
 boolean isJDBCType()
           
 void setNestedType(org.eclipse.persistence.internal.helper.DatabaseType nestedType)
          Set the database type of the value contained in the collection type.
 
Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildOutDeclare, buildOutputRow, clone, computeInIndex, computeOutIndex, getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isCursor, isRecord, logParameter, setCompatibleType, setJavaType, setJavaTypeName, setTypeName, toString, translate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nestedType

protected org.eclipse.persistence.internal.helper.DatabaseType 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.

Constructor Detail

OracleArrayType

public OracleArrayType()
Method Detail

getNestedType

public org.eclipse.persistence.internal.helper.DatabaseType getNestedType()
Return the database type of the value contained in the collection type.


setNestedType

public void setNestedType(org.eclipse.persistence.internal.helper.DatabaseType nestedType)
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.


isCollection

public boolean isCollection()
Overrides:
isCollection in class org.eclipse.persistence.internal.helper.ComplexDatabaseType

isJDBCType

public boolean isJDBCType()
Specified by:
isJDBCType in interface org.eclipse.persistence.internal.helper.DatabaseType
Overrides:
isJDBCType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType

isComplexDatabaseType

public boolean isComplexDatabaseType()
Specified by:
isComplexDatabaseType in interface org.eclipse.persistence.internal.helper.DatabaseType
Overrides:
isComplexDatabaseType in class org.eclipse.persistence.internal.helper.ComplexDatabaseType

getSqlCode

public int getSqlCode()
Specified by:
getSqlCode in interface org.eclipse.persistence.internal.helper.DatabaseType

buildBeginBlock

public void buildBeginBlock(java.lang.StringBuilder sb,
                            PLSQLargument arg,
                            PLSQLStoredProcedureCall call)
Specified by:
buildBeginBlock in interface org.eclipse.persistence.internal.helper.DatabaseType
Overrides:
buildBeginBlock in class org.eclipse.persistence.internal.helper.ComplexDatabaseType

buildInDeclare

public void buildInDeclare(java.lang.StringBuilder sb,
                           PLSQLargument inArg)
Specified by:
buildInDeclare in interface org.eclipse.persistence.internal.helper.DatabaseType
Overrides:
buildInDeclare in class org.eclipse.persistence.internal.helper.ComplexDatabaseType

buildOutAssignment

public void buildOutAssignment(java.lang.StringBuilder sb,
                               PLSQLargument outArg,
                               PLSQLStoredProcedureCall call)
Specified by:
buildOutAssignment in interface org.eclipse.persistence.internal.helper.DatabaseType
Overrides:
buildOutAssignment in class org.eclipse.persistence.internal.helper.ComplexDatabaseType

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference