org.openxava.annotations
Annotation Type OnChanges
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface OnChanges
A group of @OnChange associated to the same member.
Applies to properties and references.
It allows to define a value different for @OnChange
in each view.
Example:
@OnChanges({
@OnChange(forViews="DEFAULT", value= ... ),
@OnChange(forViews="Simple, VerySimple", value= ... ),
@OnChange(forViews="Complete", value= ... )
})
- Author:
- Javier Paniza
value
public abstract OnChange[] value