butler.client.record
Class DRecordTree

java.lang.Object
  extended by butler.client.util.DTree
      extended by butler.client.record.DRecordTree

public class DRecordTree
extends DTree

Author:
Fredrik Bertilsson

Constructor Summary
DRecordTree(Table tab, Column col)
           
DRecordTree(Table tab, RecordFormatter formatter)
           
 
Method Summary
 void addChild(ForeignKey fk, Column col)
           
 void addChild(ForeignKey fk, DRecordTree child)
           
 java.lang.String getCaption()
           
 DRecordTree getChild(ForeignKey fk)
           
 java.util.List getChildren()
           
 RecordFormatter getFormatter()
           
 Table getTable()
           
static DRecordTree parse(org.dom4j.Element element)
           
 void setCaption(java.lang.String caption)
           
 
Methods inherited from class butler.client.util.DTree
parseTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DRecordTree

public DRecordTree(Table tab,
                   RecordFormatter formatter)

DRecordTree

public DRecordTree(Table tab,
                   Column col)
Method Detail

addChild

public void addChild(ForeignKey fk,
                     Column col)
              throws java.lang.Exception
Throws:
java.lang.Exception

addChild

public void addChild(ForeignKey fk,
                     DRecordTree child)

getTable

public Table getTable()

getFormatter

public RecordFormatter getFormatter()

getChildren

public java.util.List getChildren()

getChild

public DRecordTree getChild(ForeignKey fk)

setCaption

public void setCaption(java.lang.String caption)

getCaption

public java.lang.String getCaption()
                            throws java.lang.Exception
Throws:
java.lang.Exception

parse

public static DRecordTree parse(org.dom4j.Element element)
                         throws java.lang.Exception
Throws:
java.lang.Exception