public class OracleArrayType extends ComplexDatabaseType implements java.lang.Cloneable
DatabaseType.DatabaseTypeHelper
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
Constructor and Description |
---|
OracleArrayType() |
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 ARRAY types don't have a compatible type like PL/SQL
types do, so we will use the type name
|
DatabaseType |
getNestedType()
Return the database type of the value contained in the collection type.
|
int |
getSqlCode() |
boolean |
isArray() |
boolean |
isComplexDatabaseType() |
boolean |
isJDBCType() |
void |
setCompatibleType(java.lang.String compatibleType)
Oracle ARRAY types don't have a compatible type like PL/SQL
types do, so we will use the type name
|
void |
setNestedType(DatabaseType nestedType)
Set the database type of the value contained in the collection type.
|
buildOutputRow, clone, computeInIndex, computeOutIndex, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isCollection, isCursor, isRecord, isStruct, logParameter, setJavaType, setJavaTypeName, setTypeName, toString, translate
public DatabaseType getNestedType()
public void setNestedType(DatabaseType nestedType)
i.e. the OF type.
This could be a JDBC type, PLSQL type, or a PLSQL RECORD type.
public boolean isJDBCType()
isJDBCType
in interface DatabaseType
isJDBCType
in class ComplexDatabaseType
public boolean isComplexDatabaseType()
isComplexDatabaseType
in interface DatabaseType
isComplexDatabaseType
in class ComplexDatabaseType
public boolean isArray()
isArray
in class ComplexDatabaseType
public int getSqlCode()
getSqlCode
in interface DatabaseType
public java.lang.String getCompatibleType()
getCompatibleType
in class ComplexDatabaseType
public void setCompatibleType(java.lang.String compatibleType)
setCompatibleType
in class ComplexDatabaseType
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock
in interface DatabaseType
buildBeginBlock
in class ComplexDatabaseType
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
buildInDeclare
in interface DatabaseType
buildInDeclare
in class ComplexDatabaseType
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
buildOutDeclare
in interface DatabaseType
buildOutDeclare
in class ComplexDatabaseType
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
buildOutAssignment
in interface DatabaseType
buildOutAssignment
in class ComplexDatabaseType
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference