V
- the generic type of the value to check by the Expression
to build.public interface Argument<V>
Expression
checking one argument or comparing two arguments.Modifier and Type | Method and Description |
---|---|
Expression |
eq(Path<V> property) |
Expression |
eq(V value) |
default V |
evaluate() |
V |
getValue() |
Path<V> |
getValuePath() |
Expression |
in(Collection<? extends V> values) |
Expression |
in(V... values) |
default boolean |
isConstant() |
Expression |
isNotNull() |
Expression |
isNull() |
Expression |
neq(Path<V> property) |
Expression |
neq(V value) |
Expression |
notIn(Collection<? extends V> values) |
Expression |
notIn(V... values) |
V getValue()
Expression eq(V value)
value
- the value to compare.Expression
for this == value
.Expression eq(Path<V> property)
property
- the path
to compare.Expression
for this == property
.Expression neq(V value)
value
- the value to compare.Expression
for this != value
.Expression neq(Path<V> property)
property
- the path
to compare.Expression
for this != property
.Expression isNull()
Expression
for this IS NULL
.Expression isNotNull()
Expression
for this IS NOT NULL
.Expression in(Collection<? extends V> values)
values
- the Collection
with the values the Argument
shall be
contained
in.Expression
for this IN (values)
.Expression in(V... values)
values
- the array with the values the Argument
shall be contained
in.Expression
for this IN (values)
.Expression notIn(Collection<? extends V> values)
values
- the Collection
with the values the Argument
shall NOT be
contained
in.Expression
for this NOT IN (values)
.Expression notIn(V... values)
values
- the array with the values the Argument
shall NOT be contained
in.Expression
for this NOT IN (values)
.Copyright © 2001–2016 mmm-Team. All rights reserved.