Top Description Fields Constructors Methods
org.eclipse.persistence.queries

public Class ComplexQueryResult

extends Object
Class Inheritance

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

Modifier and TypeField and Description
protected Object
protected Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
getData()

PUBLIC: Return the database rows for the query result.

public Object
getResult()

PUBLIC: Return the result of the query.

public void
setData(Object data)

INTERNAL: Set the database rows for the query result.

public void
setResult(Object result)

INTERNAL: Set the result of the query.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

databack to summary
protected Object data
resultback to summary
protected Object result

Constructor Detail

ComplexQueryResultback to summary
public ComplexQueryResult()

Method Detail

getDataback to summary
public Object getData()

PUBLIC: Return the database rows for the query result.

getResultback to summary
public Object getResult()

PUBLIC: Return the result of the query.

setDataback to summary
public void setData(Object data)

INTERNAL: Set the database rows for the query result.

setResultback to summary
public void setResult(Object result)

INTERNAL: Set the result of the query.