Annotation Interface OptionFilterParam
Describes additional filter parameters used to refine the list of items returned from a query for
a DataDrivenEnumeration
- Author:
- Jeff Fischer
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe field name in the target entity class that should be used to refine the query (i.e. sql where clause).This is the type for the value stored in this OptionFilterParam annotation.The field value that should match for any items returned from the query
-
Element Details
-
param
String paramThe field name in the target entity class that should be used to refine the query (i.e. sql where clause). The param can be "." delimited in standard bean property fashion. For example, the preferred way of referring to DataDrivenEnumerationValueImpl instances belonging to a particular instance of DataDrivenEnumerationImpl is by specifying the param value as follows:
param="type.key"
- Returns:
- the field name with which to refine the query
- See Also:
-
value
String valueThe field value that should match for any items returned from the query
- Returns:
- the field match value
-
paramType
OptionFilterParamType paramTypeThis is the type for the value stored in this OptionFilterParam annotation. The system will use this type to properly convert the String value to the correct type when executing the query.
- Returns:
- the final type for the param value
-