Modifier and Type | Class and Description |
---|---|
static class |
VariableOperand.NotNullValue
marker class for not null object value predicates.
|
Constructor and Description |
---|
VariableOperand() |
Modifier and Type | Method and Description |
---|---|
BooleanOperand |
booleanValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
NumberOperand<Byte> |
byteValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
BasicOperand<Character> |
charValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
DateOperand |
dateValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
NumberOperand<Double> |
doubleValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
StringOperand |
expressionValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
NumberOperand<Float> |
floatValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
BasicOperand<Id> |
idValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
NumberOperand<Integer> |
integerValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
StringOperand |
jsonValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
NumberOperand<Long> |
longValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
StringOperand |
name()
Returns an operand which allows to build predicates testing for the name part of variables.
|
Predicate |
nameAndValueEq(String expectedName,
Object expectedValue)
Returns a predicate testing for variables with the given name and the given value.
|
<V> Predicate |
nameAndValueEq(VariableName<V,?> expectedVariableName,
V expectedValue)
Returns a predicate testing for variables with the given variable name and the given value.
|
NumberOperand<Short> |
shortValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
StringOperand |
stringValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
Predicate |
undefined(String variableName)
Returns a predicate representing an undefined variable predicate
|
Predicate |
undefined(VariableName<?,?> variableName)
Returns a predicate representing an undefined variable predicate.
|
Predicate |
valueIsNotNull()
Returns a predicate which checks that the variable value is null, irrespective of the value type.
|
Predicate |
valueIsNull()
Returns a predicate which checks that the variable value is null, irrespective of the value type.
|
StringOperand |
xmlValue()
Returns an operand which allows to build predicates testing for the value part of variables.
|
public StringOperand name()
public Predicate undefined(String variableName)
variableName
- variable which must be undefinedpublic Predicate undefined(VariableName<?,?> variableName)
variableName
- variable which must be undefinedpublic StringOperand stringValue()
String
.String
public DateOperand dateValue()
Date
.Date
public BooleanOperand booleanValue()
Boolean
.Boolean
public NumberOperand<Byte> byteValue()
Byte
.Byte
public NumberOperand<Short> shortValue()
Short
.Short
public NumberOperand<Integer> integerValue()
Integer
.Integer
public NumberOperand<Long> longValue()
Long
.Long
public NumberOperand<Float> floatValue()
Float
.Float
public NumberOperand<Double> doubleValue()
Double
.Double
public BasicOperand<Character> charValue()
Character
.Character
public BasicOperand<Id> idValue()
Id
.Id
public StringOperand expressionValue()
ExpressionString
.ExpressionString
public StringOperand xmlValue()
XmlString
.XmlString
public StringOperand jsonValue()
JsonString
.JsonString
public Predicate valueIsNull()
Predicate
.not method. Use valueIsNotNull instead.public Predicate valueIsNotNull()
Predicate
.not method. Use valueIsNull instead.
*public <V> Predicate nameAndValueEq(VariableName<V,?> expectedVariableName, V expectedValue)
V
- the type of the variable valueexpectedVariableName
- the expected variable nameexpectedValue
- the expected variable valuepublic Predicate nameAndValueEq(String expectedName, Object expectedValue)
expectedName
- the expected variable nameexpectedValue
- the expected variable valueCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.