Package org.openxava.annotations
Annotation Type CollectionViews
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface CollectionViews
A group of@
associated to the same collection.CollectionView
Applies to @OneToMany/@ManyToMany collections.
It allows to define a value different for
@
in each view.CollectionView
Example:@CollectionViews({ @CollectionView(forViews="DEFAULT", value= ... ), @CollectionView(forViews="Simple, VerySimple", value= ... ), @CollectionView(forViews="Complete", value= ... ) })
Since 6.1 @CollectionView is repeatable, so you don't need to use @CollectionViews any more.- Author:
- Javier Paniza
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description CollectionView[]
value
-
-
-
Element Detail
-
value
CollectionView[] value
-
-