Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl
Class PlsqlCursorMethod

java.lang.Object
  extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod
      extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.PlsqlMethod
          extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.PlsqlCursorMethod

All Implemented Interfaces:
java.lang.Comparable<ProcedureMethod>, CursorMethod

public class PlsqlCursorMethod
extends PlsqlMethod
implements CursorMethod

A PL/SQL method returning REF CURSOR as beans


Field Summary
protected  SqlReflector m_reflector
           
protected  boolean m_returnBeans
           
protected  int m_returnColCount
           
protected  TypeClass m_returnEleType
           
protected  java.lang.String m_singleColName
           

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod
ALL, IN, INOUT, m_hasDefault, m_keepMethodName, m_modifiers, m_name, m_overloadNumber, m_paramDefaults, m_paramModes, m_paramNames, m_paramTypes, m_returnType, OUT, RETURN

 

Constructor Summary
PlsqlCursorMethod(java.lang.String packageName, java.lang.String methodName, java.lang.String methodNo, int modifiers, int sequence, TypeClass[] parameterTypes, java.lang.String[] parameterNames, int[] parameterModes, boolean[] parameterDefaults, int paramLen, boolean returnBeans, SqlReflector reflector)
           

 

Method Summary
 int getReturnColCount()
           
 TypeClass getReturnEleType()
           
 boolean isSingleCol()
           
 boolean returnBeans()
           
 boolean returnResultSet()
           
 java.lang.String singleColName()
           

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod
accept, compareTo, getModifiers, getName, getParamDefaults, getParamModes, getParamNames, getParamTypes, getReturnType, getSortingKey, getSqlStatement, hasDefault, keepMethodName, setKeepMethodName, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

m_reflector

protected SqlReflector m_reflector

m_singleColName

protected java.lang.String m_singleColName

m_returnEleType

protected TypeClass m_returnEleType

m_returnBeans

protected boolean m_returnBeans

m_returnColCount

protected int m_returnColCount

Constructor Detail

PlsqlCursorMethod

public PlsqlCursorMethod(java.lang.String packageName,
                         java.lang.String methodName,
                         java.lang.String methodNo,
                         int modifiers,
                         int sequence,
                         TypeClass[] parameterTypes,
                         java.lang.String[] parameterNames,
                         int[] parameterModes,
                         boolean[] parameterDefaults,
                         int paramLen,
                         boolean returnBeans,
                         SqlReflector reflector)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException

Method Detail

getReturnEleType

public TypeClass getReturnEleType()
Specified by:
getReturnEleType in interface CursorMethod

getReturnColCount

public int getReturnColCount()

isSingleCol

public boolean isSingleCol()
Specified by:
isSingleCol in interface CursorMethod

singleColName

public java.lang.String singleColName()
Specified by:
singleColName in interface CursorMethod

returnBeans

public boolean returnBeans()
Specified by:
returnBeans in interface CursorMethod

returnResultSet

public boolean returnResultSet()
Specified by:
returnResultSet in interface CursorMethod

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.