|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.queryframework.ReportQueryResult
public class ReportQueryResult
Purpose: A single row (type) result for a ReportQuery
Description: Represents a single row of attribute values (converted using mapping) for a ReportQuery. The attributes can be from various objects. Responsibilities:
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
ReportQueryResult(ReportQuery query,
oracle.toplink.internal.sessions.AbstractRecord row,
java.util.Vector toManyResults)
|
Method Summary | |
---|---|
void |
clear()
Clear the contents of the result. |
boolean |
contains(java.lang.Object value)
Check if the value is contained in the result. |
boolean |
containsKey(java.lang.Object key)
Check if the key is contained in the result. |
boolean |
containsValue(java.lang.Object value)
Check if the value is contained in the result. |
java.util.Enumeration |
elements()
Return an enumeration of the result values. |
java.util.Set |
entrySet()
Returns a set of the keys. |
boolean |
equals(java.lang.Object anObject)
Compare if the two results are equal. |
java.lang.Object |
get(java.lang.Object name)
Return the value for given item name. |
java.lang.Object |
get(java.lang.String name)
Return the value for given item name. |
java.lang.Object |
getByIndex(int index)
Return the indexed value from result. |
java.util.Vector |
getNames()
Return the names of report items, provided to ReportQuery. |
java.util.Vector |
getPrimaryKeyValues()
Return the PKs for the corresponding object or null if not requested. |
java.util.Vector |
getResults()
Return the results. |
boolean |
isEmpty()
Return if the result is empty. |
java.util.Enumeration |
keys()
Return an enumeration of the result names. |
java.util.Set |
keySet()
Returns a set of the keys. |
java.lang.Object |
put(java.lang.Object name,
java.lang.Object value)
ADVANCED: Set the value for given item name. |
void |
putAll(java.util.Map map)
Add all of the elements. |
java.lang.Object |
readObject(java.lang.Class javaClass,
Session session)
If the PKs were retrieved with the attributes then this method can be used to read the real object from the database. |
int |
size()
Return the number of name/value pairs in the result. |
java.lang.String |
toString()
|
java.util.Collection |
values()
Returns an collection of the values. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
hashCode |
Constructor Detail |
---|
public ReportQueryResult(ReportQuery query, oracle.toplink.internal.sessions.AbstractRecord row, java.util.Vector toManyResults)
Method Detail |
---|
public void clear()
clear
in interface java.util.Map
public boolean contains(java.lang.Object value)
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
public java.util.Enumeration elements()
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public boolean equals(java.lang.Object anObject)
equals
in interface java.util.Map
equals
in class java.lang.Object
public java.lang.Object get(java.lang.Object name)
get
in interface java.util.Map
public java.lang.Object get(java.lang.String name)
public java.lang.Object getByIndex(int index)
public java.util.Vector getNames()
public java.util.Vector getPrimaryKeyValues()
public java.util.Vector getResults()
public boolean isEmpty()
isEmpty
in interface java.util.Map
public java.util.Enumeration keys()
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.lang.Object put(java.lang.Object name, java.lang.Object value)
put
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public java.lang.Object readObject(java.lang.Class javaClass, Session session)
public int size()
size
in interface java.util.Map
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Collection values()
values
in interface java.util.Map
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |