Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.ejbql.parser
Class AggregateConditionNode

    java.lang.Object
      org.apache.cayenne.ejbql.parser.SimpleNode
          org.apache.cayenne.ejbql.parser.AggregateConditionNode

All Implemented Interfaces:
  java.io.Serializable, EJBQLExpression, Node

Direct Known Subclasses:
  EJBQLAnd, EJBQLNot, EJBQLOr

    public abstract class AggregateConditionNode

extends SimpleNode

Superclass of aggregated conditional nodes such as NOT, AND, OR. Defines priority of operations, so that SQL can be supplied with brackets as needed

Since:
  3.0
See Also:
  Serialized Form

Constructor Summary
`AggregateConditionNode(int id)`

Method Summary
`abstract int` | `getPriority()` Returns priority of conditional operator.

Methods inherited from class org.apache.cayenne.ejbql.parser.SimpleNode
`getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChild, visitNode`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### AggregateConditionNode

    public AggregateConditionNode(int id)

Method Detail

### getPriority

    public abstract int getPriority()

  Returns priority of conditional operator. This is used to decide whether brackets are needed in resulting SQL

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Apache Cayenne. All Rights Reserved.