This class represents a search criterion that presents a list of values to the user.
To use this criterion, you need to set a
List List of
CriterionListElement CriterionListElement
to the criterion. This list will be displayed as the selection of values and can have a multiple
selection.
author: Philippe Brouillette version: 1.0
Constructor that takes all the properties to initialize a search
criterion. By default, the criterion is dynamic.
Parameters: name - name of the criterion. This name must be uniqueas it is a key in a map. Parameters: associatedEntity - class type associated to this criterion Parameters: property - property used for the query criterion Parameters: bundleName - bundle name Parameters: locale - locale information See Also:FormCriterion.FormCriterion(StringCriterionPropertyStringLocale) See Also: FormCriterion
Constructor that clones a query criterion. This constructor is used
to instanciate a criterion in a search form when the form
contains dynamic criteria.
Parameters: criterion - query criterion that must be oftype MultipleListCriterion See Also:FormCriterion.FormCriterion(FormCriterion) See Also: FormCriterion
This method is not implemented because it should not be used.
exception: UnsupportedOperationException - See Also: @see FormCriterion#setPropertyValue(java.lang.String)
setPropertyValues
public void setPropertyValues(String[] values)(Code)
Method that assigns the value of the criterion as a String. This method
is needed for the user interface which uses only string values.
Parameters: value - value to be assigned See Also:FormCriterion.setPropertyValue(java.lang.String)