EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.queries
Class ComplexQueryResult

java.lang.Object
  extended by org.eclipse.persistence.queries.ComplexQueryResult

public class ComplexQueryResult
extends java.lang.Object

Purpose: Used to return multiple sets of information from a query. This is used if the objects and rows are required to be returned.

Responsibilities: Hold both the result of the query and the row results.

Author:
James Sutherland
Since:
TOPLink/Java 3.0

Field Summary
protected  java.lang.Object data
           
protected  java.lang.Object result
           
 
Constructor Summary
ComplexQueryResult()
           
 
Method Summary
 java.lang.Object getData()
          PUBLIC: Return the database rows for the query result.
 java.lang.Object getResult()
          PUBLIC: Return the result of the query.
 void setData(java.lang.Object data)
          INTERNAL: Set the database rows for the query result.
 void setResult(java.lang.Object result)
          INTERNAL: Set the result of the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

protected java.lang.Object result

data

protected java.lang.Object data
Constructor Detail

ComplexQueryResult

public ComplexQueryResult()
Method Detail

getData

public java.lang.Object getData()
PUBLIC: Return the database rows for the query result.


getResult

public java.lang.Object getResult()
PUBLIC: Return the result of the query.


setData

public void setData(java.lang.Object data)
INTERNAL: Set the database rows for the query result.


setResult

public void setResult(java.lang.Object result)
INTERNAL: Set the result of the query.


EclipseLink 2.2.0, build 'v20110202-r8913' API Reference