com.ibm.di.admin
Class FolderTree.TreeObjectModel.TOMNode
java.lang.Object
com.ibm.di.admin.FolderTree.TreeObjectModel.TOMNode
- All Implemented Interfaces:
- Comparator
- Enclosing class:
- FolderTree.TreeObjectModel
public class FolderTree.TreeObjectModel.TOMNode
- extends Object
- implements Comparator
FolderTree.TreeObjectModel.TOMNode
public FolderTree.TreeObjectModel.TOMNode(Object node,
FolderTree.TreeObjectModel.TOMNode parent)
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)