E - the enum specific typeR - the root query bean typepublic class PEnum<R,E> extends TQProperty<R>
| Constructor and Description |
|---|
PEnum(String name,
R root)
Construct with a property name and root instance.
|
PEnum(String name,
R root,
String prefix)
Construct with additional path prefix.
|
| Modifier and Type | Method and Description |
|---|---|
R |
eq(E value)
Is equal to.
|
R |
equalTo(E value)
Is equal to.
|
R |
in(E... values)
Is in a list of values.
|
R |
ne(E value)
Is not equal to.
|
R |
notEqualTo(E value)
Is not equal to.
|
R |
notIn(E... values)
Is NOT in a list of values.
|
public PEnum(String name, R root)
name - property nameroot - the root query bean instancepublic R equalTo(E value)
value - the equal to bind valuepublic R notEqualTo(E value)
value - the equal to bind valuepublic R eq(E value)
value - the equal to bind valuepublic R ne(E value)
value - the equal to bind valuepublic R in(E... values)
values - the list of enum values for the predicateCopyright © 2016. All rights reserved.