Annotation Type AggregateResult

@Retention(value=RUNTIME)
public @interface AggregateResult

Indicates the aggregate result of an action, allowing at the same time
to specify its cardMin (minimum cardinality), cardMax
(maximum cardinality) and type (class of the contained elements).
The annotation is to be applied to the getter method.