com.ibm.di.admin
Class FolderTree.TreeObjectModel.TOMNode

java.lang.Object
  extended by com.ibm.di.admin.FolderTree.TreeObjectModel.TOMNode
All Implemented Interfaces:
Comparator
Enclosing class:
FolderTree.TreeObjectModel

public class FolderTree.TreeObjectModel.TOMNode
extends Object
implements Comparator


Constructor Summary
FolderTree.TreeObjectModel.TOMNode(Object node, FolderTree.TreeObjectModel.TOMNode parent)
           
 
Method Summary
 FolderTree.TreeObjectModel.TOMNode addNode(Object node)
           
 int compare(Object o1, Object o2)
           
 boolean equals(Object obj)
           
 Object getChild(int index)
           
 Object getChild(String shortName)
           
 int getChildCount()
           
 Vector getChildren()
           
 Vector getChildren(Object node)
           
 Object getFullPath()
           
 Object getFullPath(MetamergeConfig cfg)
           
 int getIndexOf(Object child)
           
 MetamergeConfig getMyConfig()
           
 Object getNode()
           
 String getObjectName(Object node)
           
 FolderTree.TreeObjectModel.TOMNode getParent()
           
 boolean isLeaf()
           
 void removeItemAt(int index)
           
 void sort()
          Sorts the contents of children on name
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FolderTree.TreeObjectModel.TOMNode

public FolderTree.TreeObjectModel.TOMNode(Object node,
                                          FolderTree.TreeObjectModel.TOMNode parent)
Method Detail

addNode

public FolderTree.TreeObjectModel.TOMNode addNode(Object node)

sort

public void sort()
Sorts the contents of children on name


compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator

equals

public boolean equals(Object obj)
Specified by:
equals in interface Comparator
Overrides:
equals in class Object

getNode

public Object getNode()

getParent

public FolderTree.TreeObjectModel.TOMNode getParent()

getChildren

public Vector getChildren()

getChildCount

public int getChildCount()

getChild

public Object getChild(int index)

getIndexOf

public int getIndexOf(Object child)

getChild

public Object getChild(String shortName)

isLeaf

public boolean isLeaf()

removeItemAt

public void removeItemAt(int index)

getMyConfig

public MetamergeConfig getMyConfig()

getChildren

public Vector getChildren(Object node)

getFullPath

public Object getFullPath()
                   throws Exception
Throws:
Exception

getFullPath

public Object getFullPath(MetamergeConfig cfg)
                   throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

getObjectName

public String getObjectName(Object node)