|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyConditionBuilder
Method Summary | |
---|---|
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(java.lang.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(java.lang.String propertyName,
Operator operator,
java.lang.Object value)
Defines that the expression continuation will use the given property condition as its "left side" (or single leaf). |
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> |
property(java.lang.String propertyName,
Operator operator,
java.lang.Object value,
java.lang.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". |
Method Detail |
---|
ConditionExpressionBuilder<CompletePropertyCondition,PropertiesConditionOperand> property(java.lang.String propertyName, Operator operator, java.lang.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(java.lang.String propertyName, Operator operator, java.lang.Object value, java.lang.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(java.lang.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |