| Package | Description |
|---|---|
| org.fryske_akademy.jpa |
Interfaces classes to support working with entities, most notably an entity interface, a Param class with support
for syntax in values and value conversion and a JpqlBuilder that facilitates building (dynamic) queries.
|
| Modifier and Type | Method and Description |
|---|---|
static Param.OPERATOR |
Param.OPERATOR.fromToken(String token) |
Param.OPERATOR |
Param.getOperator() |
Param.OPERATOR |
Param.Builder.operator(String operator,
String value,
boolean syntaxInValue)
Returns an operator from the value when syntax is used and the
trimmed value equals one of the supported operators, otherwise the
trimmed operator
|
static Param.OPERATOR |
Param.OPERATOR.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Param.OPERATOR[] |
Param.OPERATOR.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
Param.OPERATOR operator,
Object paramValue,
boolean not,
boolean or)
Calls
#add(String, String, OPERATOR, Object, boolean, boolean, Object) with null for maxValue |
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
Param.OPERATOR operator,
Object paramValue,
boolean not,
boolean or,
Object maxValue)
Bottleneck method, adds a new Param, does not apply any intelligence.
|
static List<Param> |
Param.one(String key,
Param.OPERATOR operator,
Object value)
Calls
Builder#add(String, String, OPERATOR, Object, boolean, boolean, Object) with
key,key,operator,value,false,false,null |
Copyright © 2018–2020 Fryske Akademy. All rights reserved.