public class VariableOperandImpl extends Object implements VariableOperand
Default implementation of the VariableOperand interface.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
VariableOperandImpl.NotNullValue
marker class for not null object value predicates. 
 | 
| Constructor and Description | 
|---|
VariableOperandImpl()  | 
| 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> expectedVariableName,
              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<?> variableName)
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. 
 | 
public StringOperand<String> name()
VariableOperandReturns an operand to build predicates for the name part of variables.
name in interface VariableOperandpublic Predicate undefined(String variableName)
VariableOperandReturns an undefined variable predicate.
undefined in interface VariableOperandvariableName - the variable namepublic Predicate undefined(ValueAccessor<?> variableName)
VariableOperandReturns undefined variable predicate.
undefined in interface VariableOperandvariableName - the variable accessorpublic StringOperand<String> stringValue()
VariableOperandReturns an operand to build predicates for the value part of variables.
The operand is specific to string values.
stringValue in interface VariableOperandpublic TimestampOperand<Instant> timestampValue()
VariableOperandReturns an operand to build predicates for the value part of variables.
The operand is specific to timestamp values.
timestampValue in interface VariableOperandpublic BooleanOperand<Boolean> booleanValue()
VariableOperandReturns an operand to build predicates for the value part of variables.
The operand is specific to boolean values.
booleanValue in interface VariableOperandpublic NumberOperand<Long> longValue()
VariableOperandReturns an operand to build predicates for the value part of variables.
The operand is specific to long values.
longValue in interface VariableOperandpublic NumberOperand<Double> doubleValue()
VariableOperandReturns an operand to build predicates for the value part of variables.
The operand is specific to double values.
doubleValue in interface VariableOperandpublic Predicate valueIsNull()
VariableOperandReturns 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 VariableOperand.valueIsNotNull() instead.
valueIsNull in interface VariableOperandpublic Predicate valueIsNotNull()
VariableOperandReturns 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 VariableOperand.valueIsNull() instead.
*
valueIsNotNull in interface VariableOperandpublic <V> Predicate nameAndValueEq(ValueAccessor<V> expectedVariableName, V expectedValue)
VariableOperandReturns a predicate to check for variables with the given name and value.
nameAndValueEq in interface VariableOperandV - the type of the variable valueexpectedVariableName - the expected variable accessorexpectedValue - the expected variable valuepublic Predicate nameAndValueEq(String expectedName, Object expectedValue)
VariableOperandReturns a predicate to check for variables with the given name and value.
nameAndValueEq in interface VariableOperandexpectedName - the expected variable nameexpectedValue - the expected variable valueCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.