|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface PossibleValuesAnnotation used to declare filter options from a select based on other property.
The most common example of this is selecting a State based on the value of the country property. If the property you want to filter by is named "countryFilter" and the Country class has a property named "states" you should annotate the state property in this way:
| Required Element Summary | |
|---|---|
String |
value
The expression that when executed provides the options to select values from. |
| Element Detail |
|---|
public abstract String value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||