Package org.intermine.pathquery
Class LogicExpression.Or
- java.lang.Object
-
- org.intermine.pathquery.LogicExpression.Node
-
- org.intermine.pathquery.LogicExpression.Operator
-
- org.intermine.pathquery.LogicExpression.Or
-
- Enclosing class:
- LogicExpression
public final class LogicExpression.Or extends LogicExpression.Operator
An OR operator node.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addChild(LogicExpression.Node child)
Adds a node to the collection of children.protected java.lang.String
getOperator()
Override to provide text symbol for this operator.-
Methods inherited from class org.intermine.pathquery.LogicExpression.Operator
getChildren, toString
-
-
-
-
Method Detail
-
getOperator
protected java.lang.String getOperator()
Override to provide text symbol for this operator. Used in toString.- Specified by:
getOperator
in classLogicExpression.Operator
- Returns:
- operator name
-
addChild
protected void addChild(LogicExpression.Node child)
Adds a node to the collection of children.- Overrides:
addChild
in classLogicExpression.Operator
- Parameters:
child
- the new Node
-
-