public class NumberValueImpl<T,U extends Number> extends BasicValueImpl<T,U> implements NumberValue<T>
| Constructor and Description |
|---|
NumberValueImpl(String name,
ValueConverter<T,U> valueConverter,
NumberOperand<T> numberValueOperand,
boolean supportsOrderBy) |
| Modifier and Type | Method and Description |
|---|---|
Predicate |
greaterThan(T referenceValue)
Builds a predicate for a
queryParameter > referenceValue comparison. |
Predicate |
greaterThanOrEq(T referenceValue)
Builds a predicate for a
queryParameter >= referenceValue comparison. |
Predicate |
lessThan(T referenceValue)
Builds a predicate for a
queryParameter < referenceValue comparison. |
Predicate |
lessThanOrEq(T referenceValue)
Builds a predicate for a
queryParameter <= referenceValue comparison. |
eq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDescgetName, getValueConverterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValueConverterpublic NumberValueImpl(String name, ValueConverter<T,U> valueConverter, NumberOperand<T> numberValueOperand, boolean supportsOrderBy)
public Predicate lessThan(T referenceValue)
NumberOperandBuilds a predicate for a queryParameter < referenceValue comparison.
lessThan in interface NumberOperand<T>referenceValue - the reference value used for the comparisonpublic Predicate lessThanOrEq(T referenceValue)
NumberOperandBuilds a predicate for a queryParameter <= referenceValue comparison.
lessThanOrEq in interface NumberOperand<T>referenceValue - the reference value used for the comparisonpublic Predicate greaterThan(T referenceValue)
NumberOperandBuilds a predicate for a queryParameter > referenceValue comparison.
greaterThan in interface NumberOperand<T>referenceValue - the reference value used for the comparisonpublic Predicate greaterThanOrEq(T referenceValue)
NumberOperandBuilds a predicate for a queryParameter >= referenceValue comparison.
greaterThanOrEq in interface NumberOperand<T>referenceValue - the reference value used for the comparisonCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.