Class EJBQLTrimSpecification
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.EJBQLTrimSpecification
- All Implemented Interfaces:
Serializable, EJBQLExpression, Node
- Direct Known Subclasses:
EJBQLTrimBoth, EJBQLTrimLeading, EJBQLTrimTrailing
- Since:
- 3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChild, visitNodeModifier and TypeMethodDescriptiongetChild(int index) Returns a child expression node at the specified index.intReturns a number of child operands of this expression node.getName()getText()Returns a text property of the node.booleanReturns an optional boolean flag that negates the value of the expression.voidjjtAddChild(Node n, int i) This method tells the node to add its argument to the node's list of children.voidjjtClose()This method is called after all the child nodes have been added.jjtGetChild(int i) This method returns a child node.intReturn the number of children the node has.voidjjtOpen()This method is called after the node has been made the current node.voidjjtSetParent(Node parent) This pair of methods are used to inform the node of its parent.voidtoString()voidvisit(EJBQLExpressionVisitor visitor) A recursive visit method that passes a visitor to this node and all its children, depth first.protected booleanvisitChild(EJBQLExpressionVisitor visitor, int childIndex) Recursively visits a child at the specified index.protected booleanvisitNode(EJBQLExpressionVisitor visitor) Visits this node without recursion.
-
Constructor Details
-
EJBQLTrimSpecification
public EJBQLTrimSpecification(int id)
-