Index: tomahawk/src/java/org/apache/myfaces/custom/tree2/TreeNodeBase.java
===================================================================
--- tomahawk/src/java/org/apache/myfaces/custom/tree2/TreeNodeBase.java	(revision 279050)
+++ tomahawk/src/java/org/apache/myfaces/custom/tree2/TreeNodeBase.java	(working copy)
@@ -16,14 +16,15 @@
 
 package org.apache.myfaces.custom.tree2;
 
-
-import java.util.List;
 import java.util.ArrayList;
 import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
 
 public class TreeNodeBase implements TreeNode, Comparable
 {
     private static final long serialVersionUID = 278589014441538822L;
+    private TreeNode parent;
     private ArrayList children = new ArrayList();
     private String type;
     private String description;
@@ -56,11 +57,30 @@
         this.leaf = leaf;
     }
 
+    public TreeNode getParent(){
+        return parent;
+    }
+
+    public void setParent(TreeNode parent){
+        this.parent = parent;
+    }
+
     public List getChildren()
     {
-        return children;
+        return Collections.unmodifiableList(children);
     }
 
+    public void addChild(TreeNode child)
+    {
+        child.setParent(this);
+        children.add(child);
+    }
+
+    public void removeChild(TreeNode child)
+    {
+        children.remove(child);
+    }
+
     public String getType()
     {
         return type;
Index: tomahawk/src/java/org/apache/myfaces/custom/tree2/TreeNode.java
===================================================================
--- tomahawk/src/java/org/apache/myfaces/custom/tree2/TreeNode.java	(revision 279050)
+++ tomahawk/src/java/org/apache/myfaces/custom/tree2/TreeNode.java	(working copy)
@@ -33,8 +33,16 @@
 
     public void setLeaf(boolean leaf);
 
+    public void addChild(TreeNode child);
+
     public List getChildren();
 
+    public void removeChild(TreeNode child);
+
+    public TreeNode getParent();
+
+    public void setParent(TreeNode parent);
+
     /**
      * Gets the type of {@link TreeNode}.
      * @return The node type
