FileDocCategorySizeDatePackage
ComplexQueryResult.javaAPI DocGlassfish v2 API2976Tue May 22 16:54:50 BST 2007oracle.toplink.essentials.queryframework

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.

author
James Sutherland
since
TOPLink/Java 3.0

Fields Summary
protected Object
result
protected Object
data
Constructors Summary
Methods Summary
public java.lang.ObjectgetData()
PUBLIC: Return the database rows for the query result.

        return data;
    
public java.lang.ObjectgetResult()
PUBLIC: Return the result of the query.

        return result;
    
public voidsetData(java.lang.Object data)
INTERNAL: Set the database rows for the query result.

        this.data = data;
    
public voidsetResult(java.lang.Object result)
INTERNAL: Set the result of the query.

        this.result = result;