Skip navigation links
org.eclipse.persistence.queries
Class ComplexQueryResult
java.lang.Object
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
|
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 |
result
protected java.lang.Object result
data
protected java.lang.Object data
ComplexQueryResult
public ComplexQueryResult()
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