Package org.openxava.annotations
Annotation Type ReferenceViews
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface ReferenceViews
A group of@
associated to the same reference.ReferenceView
Applies to references.
It allows to define a value different for
@
in each view.ReferenceView
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
-
-
-
Element Detail
-
value
ReferenceView[] value
-
-