| java.lang.Object org.mdarad.framework.util.struts.criteria.FormCriterion org.mdarad.framework.util.struts.criteria.FormCriterionWithOperator org.mdarad.framework.util.struts.criteria.BooleanCriterion
BooleanCriterion | public class BooleanCriterion extends FormCriterionWithOperator (Code) | | This classe representes a criterion that is used with "Boolean" properties.
It defines the operators used with a Boolean criterion.
author: Philippe Brouillette version: 1.0 |
BooleanCriterion | public BooleanCriterion(String name, Class associatedEntity, CriterionProperty property, String bundleName, Locale locale)(Code) | | Constructor that takes all the needed properties to
initialize a Boolean criterion.
Parameters: name - name of the criterion, this name is used as a keyin the criterion 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(StringCriterionPropertyStringjava.util.Locale) See Also: FormCriterion |
BooleanCriterion | public BooleanCriterion(String name, Class associatedEntity, CriterionProperty property, String bundleName, Locale locale, boolean isDynamic)(Code) | | Constructor that takes all the properties to initialize a search
criterion.
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 Parameters: dynamic - boolean that indicates if the criterion is dynamic See Also: FormCriterion.FormCriterion(StringCriterionPropertyStringjava.util.Locale) See Also: FormCriterion |
BooleanCriterion | public BooleanCriterion(BooleanCriterion criterion)(Code) | | 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 BooleanCriterion See Also: FormCriterion.FormCriterion(FormCriterion) See Also: FormCriterion |
getOperators | public Operator[] getOperators()(Code) | | Returns the list of operators that can be used with this criterion. The operator
must be instanciated as
Operator Operator .
array of operators |
setPropertyValue | public void setPropertyValue(String value)(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(String) |
|
|