Description: Represents a single row of attribute values (converted using mapping) for a ReportQuery. The attributes can be from various objects. Responsibilities:
| Modifier and Type | Class and Description |
|---|---|
| protected class | ReportQueryResult.EntryIterator
Defines the virtual entrySet iterator. |
| protected class | ReportQueryResult.EntrySet
Defines the virtual entrySet. |
| protected class | ReportQueryResult.KeyIterator
Defines the virtual keySet iterator. |
| protected class | ReportQueryResult.KeySet
Defines the virtual keySet. |
| protected static class | ReportQueryResult.RecordEntry
Entry class for implementing Map interface. |
| Modifier and Type | Field and Description |
|---|---|
| protected StringBuffer | key
If an objectLevel distinct is used then generate unique key for this result |
| protected List | names
Item names to lookup result values |
| protected Object | primaryKey
Id value if the retrievPKs flag was set on the ReportQuery. |
| protected List | results
Actual converted attribute values |
| Access | Constructor and Description |
|---|---|
| public | ReportQueryResult(List<Object> results, Object primaryKeyValues)
INTERNAL: Used to create test results |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | buildResult(ReportQuery query, AbstractRecord row, Vector<E> toManyData)
INTERNAL: Create an array of attribute values (converted from raw field values using the mapping). |
| public void | |
| public boolean | |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. |
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. |
| public Set | |
| public boolean | equals(Object
object to be compared for equality with this map anObject)Overrides java. Implements java. |
| public boolean | |
| public Object | get(Object
the key whose associated value is to be returned name)Implements java. |
| public Object | |
| public Object | |
| public Object | |
| public List | |
| public String | |
| public List | |
| public int | hashCode()
Overrides java. Implements java. |
| public boolean | |
| public Set | |
| private Object | processConstructorItem(ReportQuery query, AbstractRecord row, Vector<E> toManyData, ConstructorReportItem constructorItem)
|
| protected Object | processItem(ReportQuery query, AbstractRecord row, Vector<E> toManyData, ReportItem item)
INTERNAL: Return a value from an item and database row (converted from raw field values using the mapping). |
| private Object | processItemFromMapping(ReportQuery query, AbstractRecord row, DatabaseMapping mapping, ReportItem item, int itemIndex)
|
| public Object | put(Object
key with which the specified value is to be associated name, Object value to be associated with the specified key value)Implements java. |
| public void | putAll(Map<K, V>
mappings to be stored in this map map)Implements java. |
| public Object | readObject(Class<?> javaClass, Session session)
PUBLIC: If the PKs were retrieved with the attributes then this method can be used to read the real object from the database. |
| public Object | remove(Object
key whose mapping is to be removed from the map name)Implements java. |
| protected void | |
| protected void | |
| public void | |
| public int | |
| public Object[] | |
| public List | |
| public String | |
| public Collection |