public interface AggregationAccessor
Modifier and Type | Method and Description |
---|---|
EventBean |
getEnumerableEvent(AggregationState state)
Return the aggregation state value consisting of a single event.
|
java.util.Collection<EventBean> |
getEnumerableEvents(AggregationState state)
Return the aggregation state value consisting of a collection of events.
|
java.lang.Object |
getValue(AggregationState state)
Return the aggregation state value either as a scalar value or any other object.
|
java.lang.Object getValue(AggregationState state)
For enumeration over scalar values or objects return an array or collection of scalar or object values.
Use the #getEnumerableEvents method to return a collection of events.
Use the #getEnumerableEvent to return a single events.
state
- aggregation state, downcast as neededjava.util.Collection<EventBean> getEnumerableEvents(AggregationState state)
state
- aggregation state, downcast as neededEventBean getEnumerableEvent(AggregationState state)
state
- aggregation state, downcast as needed