public abstract class ComplexDatabaseType extends java.lang.Object implements DatabaseType, java.lang.Cloneable
DatabaseType.DatabaseTypeHelper
ARGNAME_SIZE_LIMIT, COMPAT_SHORT_PREFIX, COMPAT_SUFFIX, TARGET_SHORT_PREFIX, TARGET_SUFFIX
Constructor and Description |
---|
ComplexDatabaseType() |
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) |
void |
buildOutputRow(PLSQLargument outArg,
AbstractRecord outputRow,
DatabaseRecord newOutputRow,
java.util.List<DatabaseField> outputRowFields,
java.util.List outputRowValues) |
ComplexDatabaseType |
clone() |
int |
computeInIndex(PLSQLargument inArg,
int newIndex,
java.util.ListIterator<PLSQLargument> i) |
int |
computeOutIndex(PLSQLargument outArg,
int newIndex,
java.util.ListIterator<PLSQLargument> i) |
java.lang.String |
getCompatibleType() |
int |
getConversionCode() |
java.lang.Class |
getJavaType()
Return the Java class that the complex type maps to.
|
java.lang.String |
getJavaTypeName() |
java.lang.String |
getTypeName() |
boolean |
hasCompatibleType() |
boolean |
isArray() |
boolean |
isCollection() |
boolean |
isComplexDatabaseType() |
boolean |
isCursor()
Indicates if a given subclass represents a PL/SQL cursor.
|
boolean |
isJDBCType() |
boolean |
isRecord() |
boolean |
isStruct() |
void |
logParameter(java.lang.StringBuilder sb,
java.lang.Integer direction,
PLSQLargument arg,
AbstractRecord translationRow,
DatabasePlatform platform) |
void |
setCompatibleType(java.lang.String compatibleType) |
void |
setJavaType(java.lang.Class javaType)
Set the Java class that the complex type maps to.
|
void |
setJavaTypeName(java.lang.String javaTypeName) |
void |
setTypeName(java.lang.String typeName) |
java.lang.String |
toString() |
void |
translate(PLSQLargument arg,
AbstractRecord translationRow,
AbstractRecord copyOfTranslationRow,
java.util.List<DatabaseField> copyOfTranslationFields,
java.util.List<DatabaseField> translationRowFields,
java.util.List translationRowValues,
StoredProcedureCall call) |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSqlCode
public boolean isRecord()
public boolean isCollection()
public boolean isStruct()
public boolean isArray()
public boolean isCursor()
PLSQLCursor
public int getConversionCode()
getConversionCode
in interface DatabaseType
public boolean isComplexDatabaseType()
isComplexDatabaseType
in interface DatabaseType
public boolean isJDBCType()
isJDBCType
in interface DatabaseType
public boolean hasCompatibleType()
public java.lang.String getCompatibleType()
public void setCompatibleType(java.lang.String compatibleType)
public java.lang.String getTypeName()
getTypeName
in interface DatabaseType
public void setTypeName(java.lang.String typeName)
public void setJavaType(java.lang.Class javaType)
public java.lang.Class getJavaType()
public java.lang.String getJavaTypeName()
public void setJavaTypeName(java.lang.String javaTypeName)
public ComplexDatabaseType clone()
clone
in class java.lang.Object
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)
buildInDeclare
in interface DatabaseType
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)
buildOutDeclare
in interface DatabaseType
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)
buildBeginBlock
in interface DatabaseType
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)
buildOutAssignment
in interface DatabaseType
public void buildOutputRow(PLSQLargument outArg, AbstractRecord outputRow, DatabaseRecord newOutputRow, java.util.List<DatabaseField> outputRowFields, java.util.List outputRowValues)
buildOutputRow
in interface DatabaseType
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeInIndex
in interface DatabaseType
public int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
computeOutIndex
in interface DatabaseType
public void logParameter(java.lang.StringBuilder sb, java.lang.Integer direction, PLSQLargument arg, AbstractRecord translationRow, DatabasePlatform platform)
logParameter
in interface DatabaseType
public void translate(PLSQLargument arg, AbstractRecord translationRow, AbstractRecord copyOfTranslationRow, java.util.List<DatabaseField> copyOfTranslationFields, java.util.List<DatabaseField> translationRowFields, java.util.List translationRowValues, StoredProcedureCall call)
translate
in interface DatabaseType
public java.lang.String toString()
toString
in class java.lang.Object
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference