public interface VariableOperand
Defines the methods to build variable-specific Predicate
instances.
Modifier and Type | Method and Description |
---|---|
BooleanOperand<Boolean> |
booleanValue()
Returns an operand to build predicates for the value part of variables.
|
NumberOperand<Double> |
doubleValue()
Returns an operand to build predicates for the value part of variables.
|
NumberOperand<Long> |
longValue()
Returns an operand to build predicates for the value part of variables.
|
StringOperand<String> |
name()
Returns an operand to build predicates for the name part of variables.
|
Predicate |
nameAndValueEq(String expectedName,
Object expectedValue)
Returns a predicate to check for variables with the given name and value.
|
<V> Predicate |
nameAndValueEq(ValueAccessor<V> valueAccessor,
V expectedValue)
Returns a predicate to check for variables with the given name and value.
|
StringOperand<String> |
stringValue()
Returns an operand to build predicates for the value part of variables.
|
TimestampOperand<Instant> |
timestampValue()
Returns an operand to build predicates for the value part of variables.
|
Predicate |
undefined(String variableName)
Returns an undefined variable predicate.
|
Predicate |
undefined(ValueAccessor<?> variableAccessor)
Returns undefined variable predicate.
|
Predicate |
valueIsNotNull()
Returns a predicate to check that the variable value is null, irrespective of the value type.
|
Predicate |
valueIsNull()
Returns a predicate to check that the variable value is null, irrespective of the value type.
|
StringOperand<String> name()
Returns an operand to build predicates for the name part of variables.
Predicate undefined(String variableName)
Returns an undefined variable predicate.
variableName
- the variable namePredicate undefined(ValueAccessor<?> variableAccessor)
Returns undefined variable predicate.
variableAccessor
- the variable accessorStringOperand<String> stringValue()
Returns an operand to build predicates for the value part of variables.
The operand is specific to string values.
TimestampOperand<Instant> timestampValue()
Returns an operand to build predicates for the value part of variables.
The operand is specific to timestamp values.
BooleanOperand<Boolean> booleanValue()
Returns an operand to build predicates for the value part of variables.
The operand is specific to boolean values.
NumberOperand<Long> longValue()
Returns an operand to build predicates for the value part of variables.
The operand is specific to long values.
NumberOperand<Double> doubleValue()
Returns an operand to build predicates for the value part of variables.
The operand is specific to double values.
Predicate valueIsNull()
Returns a predicate to check that the variable value is null, irrespective of the value type.
Do not use this predicate with Predicate.not()
method. Use valueIsNotNull()
instead.
Predicate valueIsNotNull()
Returns a predicate to check that the variable value is null, irrespective of the value type.
Do not use this predicate with Predicate.not()
method. Use valueIsNull()
instead.
*
<V> Predicate nameAndValueEq(ValueAccessor<V> valueAccessor, V expectedValue)
Returns a predicate to check for variables with the given name and value.
V
- the type of the variable valuevalueAccessor
- the expected variable accessorexpectedValue
- the expected variable valueCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.