Annotation Type Editors


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface Editors
    A group of @Editor associated to the same member.

    Applies to properties, references and collections.

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

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

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