Annotation Type ReferenceViews


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface ReferenceViews
    A group of @ReferenceView associated to the same reference.

    Applies to references.

    It allows to define a value different for @ReferenceView in each view.
    Example:

      @ReferenceViews({
        @ReferenceView(forViews="DEFAULT", value= ... ),
        @ReferenceView(forViews="Simple, VerySimple", value= ... ),
        @ReferenceView(forViews="Complete", value= ... )
      })
     
    Since 6.1 @ReferenceView is repeatable, so you don't need to use @ReferenceViews any more.
    Author:
    Javier Paniza
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ReferenceView[] value