Top Description Fields Constructors Methods
org.eclipse.persistence.platform.database.oracle.plsql

public Class PLSQLCursor

extends ComplexDatabaseType
implements OraclePLSQLType, Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable, org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLType, org.eclipse.persistence.internal.helper.SimpleDatabaseType, org.eclipse.persistence.internal.helper.DatabaseType
Imports
java.util.ListIterator, org.eclipse.persistence.exceptions.QueryException, org.eclipse.persistence.internal.helper.ComplexDatabaseType

PUBLIC: describe an Oracle PL/SQL Cursor type

Field Summary

Inherited from org.eclipse.persistence.internal.helper.ComplexDatabaseType:
compatibleTypejavaTypejavaTypeNametypeName

Constructor Summary

AccessConstructor and Description
public
public
PLSQLCursor(String cursorName)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
public PLSQLCursor
clone()

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.clone.

Creates and returns a copy of this object.
public int
public int
public int
public boolean
isCursor()

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.isCursor.

Indicates if a given subclass represents a PL/SQL cursor.
Inherited from org.eclipse.persistence.internal.helper.ComplexDatabaseType:
buildOutputRowgetCompatibleTypegetConversionCodegetJavaTypegetJavaTypeNamegetTypeNamehasCompatibleTypeisArrayisCollectionisComplexDatabaseTypeisJDBCTypeisRecordisStructlogParametersetCompatibleTypesetJavaTypesetJavaTypeNamesetTypeNametoStringtranslate

Constructor Detail

PLSQLCursorback to summary
public PLSQLCursor()
PLSQLCursorback to summary
public PLSQLCursor(String cursorName)

Method Detail

buildBeginBlockback to summary
public void buildBeginBlock(StringBuilder sb, PLSQLargument arg, PLSQLStoredProcedureCall call)

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.buildBeginBlock.

Implements org.eclipse.persistence.internal.helper.DatabaseType.buildBeginBlock.

Annotations
@Override
buildInDeclareback to summary
public void buildInDeclare(StringBuilder sb, PLSQLargument inArg)

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.buildInDeclare.

Implements org.eclipse.persistence.internal.helper.DatabaseType.buildInDeclare.

Annotations
@Override
buildOutAssignmentback to summary
public void buildOutAssignment(StringBuilder sb, PLSQLargument outArg, PLSQLStoredProcedureCall call)

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.buildOutAssignment.

Implements org.eclipse.persistence.internal.helper.DatabaseType.buildOutAssignment.

Annotations
@Override
buildOutDeclareback to summary
public void buildOutDeclare(StringBuilder sb, PLSQLargument outArg)

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.buildOutDeclare.

Implements org.eclipse.persistence.internal.helper.DatabaseType.buildOutDeclare.

Annotations
@Override
cloneback to summary
public PLSQLCursor clone()

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.clone.

Doc from java.lang.Object.clone.

Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object. The general intent is that, for any object x, the expression:

x.clone() != x
will be true, and that the expression:
x.clone().getClass() == x.getClass()
will be true, but these are not absolute requirements. While it is typically the case that:
x.clone().equals(x)
will be true, this is not an absolute requirement.

By convention, the returned object should be obtained by calling super.clone. If a class and all of its superclasses (except Object) obey this convention, it will be the case that x.clone().getClass() == x.getClass().

By convention, the object returned by this method should be independent of this object (which is being cloned). To achieve this independence, it may be necessary to modify one or more fields of the object returned by super.clone before returning it. Typically, this means copying any mutable objects that comprise the internal "deep structure" of the object being cloned and replacing the references to these objects with references to the copies. If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super.clone need to be modified.

Returns:PLSQLCursor

a clone of this instance.

Annotations
@Override
computeInIndexback to summary
public int computeInIndex(PLSQLargument inArg, int newIndex, ListIterator<PLSQLargument> i)

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.computeInIndex.

Implements org.eclipse.persistence.internal.helper.DatabaseType.computeInIndex.

Annotations
@Override
computeOutIndexback to summary
public int computeOutIndex(PLSQLargument outArg, int newIndex, ListIterator<PLSQLargument> iterator)

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.computeOutIndex.

Implements org.eclipse.persistence.internal.helper.DatabaseType.computeOutIndex.

Annotations
@Override
getSqlCodeback to summary
public int getSqlCode()

Implements org.eclipse.persistence.internal.helper.DatabaseType.getSqlCode.

Annotations
@Override
isCursorback to summary
public boolean isCursor()

Overrides org.eclipse.persistence.internal.helper.ComplexDatabaseType.isCursor.

Doc from org.eclipse.persistence.internal.helper.ComplexDatabaseType.isCursor.

Indicates if a given subclass represents a PL/SQL cursor.

Annotations
@Override