org.openxava.annotations
Annotation Type CollectionViews


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface CollectionViews

A group of @CollectionView associated to the same collection.

Applies to collections.

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

  @CollectionViews({
    @CollectionView(forViews="DEFAULT", value= ... ),
    @CollectionView(forViews="Simple, VerySimple", value= ... ),
    @CollectionView(forViews="Complete", value= ... )
  })
 

Author:
Javier Paniza

Required Element Summary
 CollectionView[] value
           
 

Element Detail

value

public abstract CollectionView[] value