Class AbstractBinaryOperatorNode
- java.lang.Object
-
- org.xwiki.notifications.filters.expression.generics.AbstractNode
-
- org.xwiki.notifications.filters.expression.generics.AbstractOperatorNode
-
- org.xwiki.notifications.filters.expression.generics.AbstractBinaryOperatorNode
-
- All Implemented Interfaces:
ExpressionNode
- Direct Known Subclasses:
AndNode
,EndsWith
,EqualsNode
,GreaterThanNode
,LesserThanNode
,NotEqualsNode
,OrNode
,StartsWith
public abstract class AbstractBinaryOperatorNode extends AbstractOperatorNode
Binary operand node definition for a filtering expression. This class can be extended in order to define new binary operations.- Since:
- 9.7RC1
- Version:
- $Id: 5791f8968313c8a6be0290ef79a3f9bb705a89e7 $
-
-
Field Summary
-
Fields inherited from class org.xwiki.notifications.filters.expression.generics.AbstractNode
EMPTY_NODE
-
-
Constructor Summary
Constructors Constructor Description AbstractBinaryOperatorNode(AbstractNode leftOperand, AbstractNode rightOperand)
Constructs a new binary operator node.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AbstractNode
getLeftOperand()
AbstractNode
getRightOperand()
int
hashCode()
-
Methods inherited from class org.xwiki.notifications.filters.expression.generics.AbstractOperatorNode
and, or
-
-
-
-
Constructor Detail
-
AbstractBinaryOperatorNode
public AbstractBinaryOperatorNode(AbstractNode leftOperand, AbstractNode rightOperand)
Constructs a new binary operator node. Both operands should not be null.- Parameters:
leftOperand
- the left operandrightOperand
- the right operand
-
-
Method Detail
-
getLeftOperand
public AbstractNode getLeftOperand()
- Returns:
- the left operand
-
getRightOperand
public AbstractNode getRightOperand()
- Returns:
- the right operand
-
-