| java.lang.Object org.mdarad.framework.util.struts.criteria.FormCriterion org.mdarad.framework.util.struts.criteria.FormCriterionWithOperator org.mdarad.framework.util.struts.criteria.NumericCriterion
All known Subclasses: org.mdarad.framework.util.struts.criteria.MoneyCriterion, org.mdarad.framework.util.struts.criteria.DateCriterion,
NumericCriterion | public class NumericCriterion extends FormCriterionWithOperator (Code) | | This classe representes a criterion that is used with "numeric" properties.
It defines the operators used with a numeric criterion.
author: Philippe Brouillette version: 1.0 |
NumericCriterion | public NumericCriterion(String name, Class associatedEntity, CriterionProperty property, String bundleName, Locale locale)(Code) | | Constructor that takes all the needed properties to
initialize a numeric 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(StringCriterionPropertyStringLocale) See Also: FormCriterion |
NumericCriterion | public NumericCriterion(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: isDynamic - boolean that indicates if the criterion is dynamic See Also: FormCriterion.FormCriterion(StringCriterionPropertyStringLocale) See Also: FormCriterion |
NumericCriterion | public NumericCriterion(NumericCriterion 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 NumericCriterion 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 |
|
|