Annotation Type Trees

  • @Retention(RUNTIME)
    public @interface Trees
    A group of @Tree associated to the same collection.

    Applies to @OneToMany/@ManyToMany collections.

    It allows to define a value different for @Tree in each view.

        @Tree(forViews="DEFAULT", value= ... ),
        @Tree(forViews="Simple, VerySimple", value= ... ),
        @Tree(forViews="Complete", value= ... )
    Since 6.1 @Tree is repeatable, so you don't need to use @Trees any more.
    Federico Alcántara
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Tree[] value  
    • Element Detail

      • value

        Tree[] value