public interface PropertyConditionBuilder
Modifier and Type | Method and Description |
---|---|
ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> |
not(CompletePropertyCondition singleCondition)
Returns a negation of the given complete condition, wrapping it first in a ConditionExpression
This method is equivalent to calling:
|
ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> |
not(ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> subExpression)
Returns the negated given sub expression.
|
IncompletePropertyCondition |
property(String propertyName)
Creates an incomplete condition on the specified property and sets the property condition of this element
to the created condition.
|
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> |
property(String propertyName,
Operator operator,
Object value)
Defines that the expression continuation will use the given property condition as its "left side" (or single
leaf).
|
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> |
property(String propertyName,
Operator operator,
Object value,
String conditionName)
Defines that the expression continuation will use the given property condition as its "left side" (or single
leaf).
|
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> |
use(CompletePropertyCondition completeProperty)
Uses a previously defined complete property as its "left side" (or single leaf).
|
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> |
use(ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> propertyConditionExpression)
Uses a previously defined condition expression as its "left side".
|
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> property(String propertyName, Operator operator, Object value)
property
method.propertyName
- the property name to create the condition on.operator
- the operator to use.value
- the value of the property condition, must be of the "correct" type or assignable.
Some operators accept null as empty values.ConditionExpressionBuilder
,
ConditionExpression
@NotFinalAPI ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> property(String propertyName, Operator operator, Object value, String conditionName)
property
method.propertyName
- the property name to create the condition on.operator
- the operator to use.value
- the value of the property condition, must be of the "correct" type or assignable.
Some operators accept null as empty values.conditionName
- the condition name. May be null.
See CompletePropertyCondition.withConditionName(String)
for details.ConditionExpressionBuilder
,
ConditionExpression
,
CompletePropertyCondition.withConditionName(String)
IncompletePropertyCondition property(String propertyName)
isEqualTo
,
greaterOrEqual
or other
IncompletePropertyCondition
methods .ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> use(CompletePropertyCondition completeProperty)
ConditionExpressionBuilder
,
ConditionExpression
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> use(ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> propertyConditionExpression)
ConditionExpressionBuilder
,
ConditionExpression
ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> not(ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> subExpression)
ConditionExpressionBuilder
,
ConditionExpression
ConditionExpression<CompletePropertyCondition,PropertiesConditionOperand> not(CompletePropertyCondition singleCondition)
builder.not(builder.use(singleCondition))
ConditionExpressionBuilder
,
ConditionExpression
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.