org.tranql.ql
Class AbstractNode

java.lang.Object
  extended byorg.tranql.ql.AbstractNode
All Implemented Interfaces:
Node, java.io.Serializable
Direct Known Subclasses:
AggregateFunction, AliasedEntity, Assignment, AttributeReference, Between, BinaryOperation, BooleanLiteral, ConditionalAssignment, Empty, EntityReference, Exists, FKAttributeReference, From, Function, In, IsNull, Join, Like, MemberOf, Not, NumericLiteral, OrderBy, ParameterReference, Path, Query, RowConstructor, Select, SetList, StringLiteral, SubQuery, TableConstructor, UnaryOperator, Where

public abstract class AbstractNode
extends java.lang.Object
implements Node

This is the base class of the node type used in the abstract syntax tree.

Version:
$Revision: 173 $ $Date: 2005-02-20 16:42:56 +0100 (Sun, 20 Feb 2005) $
See Also:
Serialized Form

Constructor Summary
AbstractNode()
           
 
Method Summary
 Node addChild(Node child)
           
 Node getChild()
           
 Node getSibling()
           
 boolean isOnlyChild()
           
 void setSibling(Node sibling)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tranql.ql.Node
visit
 

Constructor Detail

AbstractNode

public AbstractNode()
Method Detail

getSibling

public Node getSibling()
Specified by:
getSibling in interface Node

setSibling

public void setSibling(Node sibling)
Specified by:
setSibling in interface Node

getChild

public Node getChild()
Specified by:
getChild in interface Node

addChild

public Node addChild(Node child)
Specified by:
addChild in interface Node

isOnlyChild

public boolean isOnlyChild()
Specified by:
isOnlyChild in interface Node


Copyright © -2006 The Codehaus. All Rights Reserved.