org.tranql.ddl
Class AbstractNode

java.lang.Object
  extended byorg.tranql.ddl.AbstractNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
ColumnDefinition, Constraint, DDL, FKColumnDefinition, NodeList, References, TableDDL

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

Version:
$Revision: 246 $ $Date: 2005-08-27 04:09:42 +0200 (Sat, 27 Aug 2005) $

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.ddl.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.