Package org.neo4j.cypherdsl.core
Class CompoundCondition
- java.lang.Object
-
- org.neo4j.cypherdsl.core.CompoundCondition
-
- All Implemented Interfaces:
Condition,Expression,Visitable
@API(status=INTERNAL, since="1.0") public final class CompoundCondition extends java.lang.Object implements ConditionA condition that consists of one or twoconditionsconnected by a Logical connective (operator).- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)Conditionand(Condition condition)Adds a condition to this condition with an AND.Conditionor(Condition condition)Adds a condition to this condition with an OR.Conditionxor(Condition condition)Adds a condition to this condition with a XOR.
-
-
-
Method Detail
-
and
public Condition and(Condition condition)
Description copied from interface:ConditionAdds a condition to this condition with an AND.
-
or
public Condition or(Condition condition)
Description copied from interface:ConditionAdds a condition to this condition with an OR.
-
xor
public Condition xor(Condition condition)
Description copied from interface:ConditionAdds a condition to this condition with a XOR.
-
-