@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface AddActions
@AddAction
associated to the same collection. Applies to @OneToMany/@ManyToMany collections.
It allows to define a value different for @
in
each view.AddAction
Example:
@AddActions({ @AddAction(forViews="DEFAULT", value= ... ), @AddAction(forViews="Simple, VerySimple", value= ... ), @AddAction(forViews="Complete", value= ... ) })Since 6.1 @AddAction is repeatable, so you don't need to use @AddActions any more.
public abstract AddAction[] value