Skip navigation links

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

E28847-01


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.

Since:
TOPLink/Java 3.0
Author:
James Sutherland

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.

Skip navigation links

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