Class PLSQLCursor
- java.lang.Object
-
- org.eclipse.persistence.internal.helper.ComplexDatabaseType
-
- org.eclipse.persistence.platform.database.oracle.plsql.PLSQLCursor
-
- All Implemented Interfaces:
java.lang.Cloneable,DatabaseType,SimpleDatabaseType,OraclePLSQLType
public class PLSQLCursor extends ComplexDatabaseType implements OraclePLSQLType, java.lang.Cloneable
PUBLIC: describe an Oracle PL/SQL Cursor type
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.persistence.internal.helper.DatabaseType
DatabaseType.DatabaseTypeHelper
-
-
Field Summary
-
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
Constructors Constructor Description PLSQLCursor()PLSQLCursor(java.lang.String cursorName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)voidbuildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)voidbuildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)voidbuildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)PLSQLCursorclone()intcomputeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)intcomputeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)intgetSqlCode()booleanisCursor()Indicates if a given subclass represents a PL/SQL cursor.-
Methods inherited from class org.eclipse.persistence.internal.helper.ComplexDatabaseType
buildOutputRow, getCompatibleType, getConversionCode, getJavaType, getJavaTypeName, getTypeName, hasCompatibleType, isArray, isCollection, isComplexDatabaseType, isJDBCType, isRecord, isStruct, logParameter, 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
buildOutputRow, getConversionCode, getTypeName, isComplexDatabaseType, isJDBCType, logParameter, logParameter, translate
-
-
-
-
Method Detail
-
clone
public PLSQLCursor clone()
- Overrides:
clonein classComplexDatabaseType
-
isCursor
public boolean isCursor()
Description copied from class:ComplexDatabaseTypeIndicates if a given subclass represents a PL/SQL cursor.- Overrides:
isCursorin classComplexDatabaseType- See Also:
PLSQLCursor
-
getSqlCode
public int getSqlCode()
- Specified by:
getSqlCodein interfaceDatabaseType
-
computeInIndex
public int computeInIndex(PLSQLargument inArg, int newIndex, java.util.ListIterator<PLSQLargument> i)
- Specified by:
computeInIndexin interfaceDatabaseType- Overrides:
computeInIndexin classComplexDatabaseType
-
computeOutIndex
public int computeOutIndex(PLSQLargument outArg, int newIndex, java.util.ListIterator<PLSQLargument> iterator)
- Specified by:
computeOutIndexin interfaceDatabaseType- Overrides:
computeOutIndexin classComplexDatabaseType
-
buildInDeclare
public void buildInDeclare(java.lang.StringBuilder sb, PLSQLargument inArg)- Specified by:
buildInDeclarein interfaceDatabaseType- Overrides:
buildInDeclarein classComplexDatabaseType
-
buildOutDeclare
public void buildOutDeclare(java.lang.StringBuilder sb, PLSQLargument outArg)- Specified by:
buildOutDeclarein interfaceDatabaseType- Overrides:
buildOutDeclarein classComplexDatabaseType
-
buildBeginBlock
public void buildBeginBlock(java.lang.StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)- Specified by:
buildBeginBlockin interfaceDatabaseType- Overrides:
buildBeginBlockin classComplexDatabaseType
-
buildOutAssignment
public void buildOutAssignment(java.lang.StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)- Specified by:
buildOutAssignmentin interfaceDatabaseType- Overrides:
buildOutAssignmentin classComplexDatabaseType
-
-