public class RangeCondition extends MeasureValueFilterCondition implements Serializable
MeasureValueFilter that compares measure values against two values.| Constructor and Description |
|---|
RangeCondition(RangeConditionOperator operator,
BigDecimal from,
BigDecimal to)
Creates a new
RangeCondition instance. |
RangeCondition(RangeConditionOperator operator,
BigDecimal from,
BigDecimal to,
BigDecimal treatNullValuesAs)
Creates a new
RangeCondition instance. |
RangeCondition(String operator,
BigDecimal from,
BigDecimal to,
BigDecimal treatNullValuesAs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
BigDecimal |
getFrom() |
RangeConditionOperator |
getOperator() |
String |
getStringOperator() |
BigDecimal |
getTo() |
int |
hashCode() |
String |
toString() |
getTreatNullValuesAspublic RangeCondition(String operator, BigDecimal from, BigDecimal to, BigDecimal treatNullValuesAs)
public RangeCondition(RangeConditionOperator operator, BigDecimal from, BigDecimal to)
RangeCondition instance.operator - The operator of the range condition.from - The left boundary value.to - The right boundary value.public RangeCondition(RangeConditionOperator operator, BigDecimal from, BigDecimal to, BigDecimal treatNullValuesAs)
RangeCondition instance.operator - The operator of the range condition.from - The left boundary value.to - The right boundary value.treatNullValuesAs - The number that will be used instead of compared values that are null.public RangeConditionOperator getOperator()
public String getStringOperator()
public BigDecimal getFrom()
public BigDecimal getTo()
public boolean equals(Object o)
equals in class MeasureValueFilterConditionpublic int hashCode()
hashCode in class MeasureValueFilterConditionCopyright © 2020. All rights reserved.