|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Condition
Represents a data condition to be satisfied by returning results when used in a Query. The condition itself could contains
a Conditions
, which contains a query expression, or a left and a right
Condition joined by JoinTypeEnum
, which could in turn contains either
ConditionExprssion or left/right Conditions. Condition itself will never contains both ConditionExpression and Left/Right Condtions
at the same time.
Method Summary | |
---|---|
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 |
Method Detail |
---|
JoinTypeEnum getJoinType()
Condition getLeftCondition()
Condition getRightCondition()
ConditionExpression getExpression()
Condition and(Condition input)
input
- Condition to be joined
Condition or(Condition input)
input
- Condition to be joined
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |