org.tynamo.descriptor.annotation
Annotation Type PossibleValues


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

Annotation 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:

Author:
pruggia

Required Element Summary
 String value
          The expression that when executed provides the options to select values from.
 

Element Detail

value

public abstract String value
The expression that when executed provides the options to select values from.



Copyright © 2004-2009. All Rights Reserved.