| 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 OPERATOR |
OPERATOR.fromToken(String token) |
static OPERATOR |
OPERATOR.fromUserInput(String input) |
OPERATOR |
Param.getOperator() |
static OPERATOR |
OPERATOR.operator(String operator,
String value,
boolean syntaxInValue)
Returns an operator from the value when syntaxInValue is true and the
value contains one of the supported operators, otherwise the operator is
determined from the operator argument
|
static OPERATOR |
OPERATOR.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OPERATOR[] |
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,
OPERATOR operator,
Object paramValue,
boolean not,
boolean or)
Calls
Param.Builder.add(String, String, OPERATOR, Object, boolean, boolean, Object)
with null for maxValue |
Param.Builder |
Param.Builder.add(String propertyPath,
String paramKey,
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,
OPERATOR operator,
Object value)
Calls
Param.Builder.add(String, String, OPERATOR, Object, boolean, boolean, Object)
with key,key,operator,value,false,false,null |
Copyright © 2018–2021 Fryske Akademy. All rights reserved.