R - the root query bean typeT - the number typepublic abstract class PBaseNumber<R,T> extends TQProperty<R>
| Constructor and Description |
|---|
PBaseNumber(String name,
R root)
Construct with a property name and root instance.
|
PBaseNumber(String name,
R root,
String prefix)
Construct with additional path prefix.
|
| Modifier and Type | Method and Description |
|---|---|
R |
between(int lower,
int upper)
Between lower and upper values.
|
R |
between(T lower,
T upper)
Between lower and upper values.
|
R |
eq(int value)
Is equal to.
|
R |
eq(T value)
Is equal to.
|
R |
equalTo(int value)
Is equal to.
|
R |
equalTo(T value)
Is equal to.
|
R |
ge(T value)
Greater than or Equal to.
|
R |
greaterOrEqualTo(T value)
Greater than or Equal to.
|
R |
greaterThan(int value)
Greater than.
|
R |
greaterThan(T value)
Greater than.
|
R |
gt(int value)
Greater than.
|
R |
gt(T value)
Greater than.
|
R |
le(T value)
Less than or Equal to.
|
R |
lessOrEqualTo(T value)
Less than or Equal to.
|
R |
lessThan(int value)
Less than.
|
R |
lessThan(T value)
Less than.
|
R |
lt(int value)
Less than.
|
R |
lt(T value)
Less than.
|
public PBaseNumber(String name, R root)
name - property nameroot - the root query bean instancepublic PBaseNumber(String name, R root, String prefix)
public R eq(T value)
value - the equal to bind valuepublic R gt(T value)
value - the bind valuepublic R ge(T value)
value - the bind valuepublic R lt(T value)
value - the bind valuepublic R le(T value)
value - the bind valuepublic R between(T lower, T upper)
lower - the lower bind valueupper - the upper bind valuepublic R equalTo(T value)
value - the equal to bind valuepublic R greaterThan(T value)
value - the bind valuepublic R greaterOrEqualTo(T value)
value - the bind valuepublic R lessThan(T value)
value - the bind valuepublic R lessOrEqualTo(T value)
value - the bind valuepublic R equalTo(int value)
value - the equal to bind valuepublic R greaterThan(int value)
value - the equal to bind valuepublic R lessThan(int value)
value - the equal to bind valuepublic R eq(int value)
value - the equal to bind valuepublic R gt(int value)
value - the equal to bind valuepublic R lt(int value)
value - the equal to bind valueCopyright © 2016. All rights reserved.