Annotation Type Association


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD,ANNOTATION_TYPE})
    @Documented
    public @interface Association
    An association to an AggregateRoot.
    See Also:
      • Optional Element Summary

        Optional Elements 
        Modifier and Type Optional Element Description
        java.lang.Class<?> aggregateType
        Defines the aggregate type.
    • Element Detail

      • aggregateType

        java.lang.Class<?> aggregateType
        Defines the aggregate type.
        Returns:
        the of the aggregate.
        Default:
        void.class