Annotation Type AggregateResult


  • @Retention(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.
    Author:
    Paolo Cancedda
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class type  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int cardMax  
      int cardMin  
      • cardMin

        int cardMin
        Default:
        0
      • cardMax

        int cardMax
        Default:
        -1