Package org.eclipse.persistence.queries
Class ComplexQueryResult
- java.lang.Object
-
- 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.
- Author:
- James Sutherland
- Since:
- TOPLink/Java 3.0
-
-
Constructor Summary
Constructors Constructor Description ComplexQueryResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-