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 QueryMethod

java.lang.Object
  extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.ProcedureMethod
      extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlStmtMethod
          extended by org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.QueryMethod

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

public class QueryMethod
extends SqlStmtMethod
implements CursorMethod

A Method provides information about a single method this method executes a SQL statement


Field Summary
protected  java.lang.String m_resultIterTypeName
           
protected  boolean m_returnBeans
           
protected  TypeClass m_returnEleType
           
protected  java.lang.String m_singleColName
           

 

Fields inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlStmtMethod
m_reflector, m_sqlStmt, m_sqlStmtParamModes, m_sqlStmtParamNames, m_sqlStmtParamTypes, m_sqlStmtQuoted, m_sqlStmtTmp

 

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
QueryMethod(java.lang.String methodName, int modifiers, java.lang.String sqlStmt, boolean returnBeans, SqlStmtType sqlStmtType, SqlReflector reflector)
          Construct a Method that is a query that returns java.lang.ResultSet or Beans

 

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

 

Methods inherited from class org.eclipse.persistence.platform.database.oracle.publisher.sqlrefl.SqlStmtMethod
getSqlStmt, getSqlStmtParamNames, getSqlStmtParamTypes, getSqlStmtQuoted

 

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_resultIterTypeName

protected java.lang.String m_resultIterTypeName

m_singleColName

protected java.lang.String m_singleColName

m_returnBeans

protected boolean m_returnBeans

m_returnEleType

protected TypeClass m_returnEleType

Constructor Detail

QueryMethod

public QueryMethod(java.lang.String methodName,
                   int modifiers,
                   java.lang.String sqlStmt,
                   boolean returnBeans,
                   SqlStmtType sqlStmtType,
                   SqlReflector reflector)
            throws java.sql.SQLException,
                   PublisherException
Construct a Method that is a query that returns java.lang.ResultSet or Beans
Throws:
java.sql.SQLException
PublisherException

Method Detail

getResultIterTypeName

public java.lang.String getResultIterTypeName()

getReturnEleType

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

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.