Class EJBQLOr

All Implemented Interfaces:
Serializable, EJBQLExpression, Node

public class EJBQLOr extends AggregateConditionNode
Since:
3.0
See Also:
  • Constructor Details

    • EJBQLOr

      public EJBQLOr(int id)
  • Method Details

    • visitNode

      protected boolean visitNode(EJBQLExpressionVisitor visitor)
      Description copied from class: SimpleNode
      Visits this node without recursion. Default implementation simply returns true. Subclasses override this method to call an appropriate visitor method.
      Overrides:
      visitNode in class SimpleNode
    • visitChild

      protected boolean visitChild(EJBQLExpressionVisitor visitor, int childIndex)
      Description copied from class: SimpleNode
      Recursively visits a child at the specified index. Subclasses override this method if they desire to implement callbacks after visiting each child.
      Overrides:
      visitChild in class SimpleNode
    • getPriority

      public int getPriority()
      Description copied from class: AggregateConditionNode
      Returns priority of conditional operator. This is used to decide whether brackets are needed in resulting SQL
      Specified by:
      getPriority in class AggregateConditionNode