public class RangeCriterion implements Criterion
Constructor and Description |
---|
RangeCriterion(java.lang.String fieldName, OperatorBase operatorId, java.lang.Comparable minValue, java.lang.Comparable maxValue) Construtor by parameters: |
RangeCriterion(java.lang.String fieldName, java.lang.String operatorId, java.lang.Comparable minValue, java.lang.Comparable maxValue) Construtor by parameters: |
Modifier and Type | Method and Description |
---|---|
java.lang.Comparable | getMax() Gets max value of field. |
java.lang.Comparable | getMin() Gets min value of field. |
void | setMax(java.lang.Comparable value) Sets max value of field. |
void | setMin(java.lang.Comparable value) Sets min value of field. |
getFieldName, getOperatorId, getValue, setFieldName, setOperatorId, setValue
public RangeCriterion(java.lang.String fieldName, java.lang.String operatorId, java.lang.Comparable minValue, java.lang.Comparable maxValue)
fieldName
- - name of field that will be checked.operatorId
- - operator that determines checking logic.minValue
- - min value of fieldmaxValue
- - max value of fieldpublic RangeCriterion(java.lang.String fieldName, OperatorBase operatorId, java.lang.Comparable minValue, java.lang.Comparable maxValue)
fieldName
- - name of field that will be checked.operatorId
- - operator that determines checking logic. This is likely to be a member of the DefaultOperators
class, such as IContains or GreaterThan.minValue
- - min value of fieldmaxValue
- - max value of fieldpublic void setMin(java.lang.Comparable value)
value
- min value.public java.lang.Comparable getMin()
public void setMax(java.lang.Comparable value)
value
- max value.public java.lang.Comparable getMax()