|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.yestech.event.AggregateResultReference
public final class AggregateResultReference
Represents an Aggregation of ResultReference.
| Constructor Summary | |
|---|---|
AggregateResultReference()
|
|
| Method Summary | ||
|---|---|---|
|
addResult(Enum<?> token,
ResultReference<T> result)
Adds a result to the aggregate. |
|
boolean |
containsResult(Enum<?> token)
Checks if a result is available. |
|
|
getResult(Enum<?> token)
Returns the Result contained in the associated ResultReference. |
|
Iterator<ResultReference> |
getResults()
Returns all the associated ResultReference. |
|
int |
getTotal()
Returns the number of results available. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AggregateResultReference()
| Method Detail |
|---|
public <T> void addResult(Enum<?> token,
ResultReference<T> result)
T - Type contained in the result referencetoken - Token associated with the resultresult - The Resultpublic <T> T getResult(Enum<?> token)
ResultReference.
T - Type contained in the result referencetoken - Token associated with the result
ResultReference.public boolean containsResult(Enum<?> token)
token - Token to lookup
public Iterator<ResultReference> getResults()
ResultReference.
public int getTotal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||