@Exported
public interface Condition
Conditions
, which contain a query expression, or a left and a right
Condition joined by JoinTypeEnum
, which could in turn contain either
ConditionExprssion or left/right Conditions. Condition itself will never contain both ConditionExpression and Left/Right Condtions
at the same time.Modifier and Type | Method and Description |
---|---|
Condition |
and(Condition input)
Joins (Conjunction) a given Condition with this Condition
|
ConditionExpression |
getExpression()
Returns ConditionExpression this Condition represents
|
JoinTypeEnum |
getJoinType()
Returns the nesting type associated with the condition
|
Condition |
getLeftCondition()
Returns the left hand side of joined condition
|
Condition |
getRightCondition()
Returns the right hand side of joined condition
|
Condition |
or(Condition input)
Joins (Disjunction) a given Condition with this Condition
|
JoinTypeEnum getJoinType()
Condition getLeftCondition()
Condition getRightCondition()
ConditionExpression getExpression()
Condition and(Condition input)
input
- Condition to be joined