org.eclipse.persistence.queries
Class ComplexQueryResult

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

public class ComplexQueryResult
extends 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.

Since:
TOPLink/Java 3.0
Author:
James Sutherland

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

Constructor Detail

ComplexQueryResult

public ComplexQueryResult()
Method Detail

getData

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


getResult

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


setData

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


setResult

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