net.ontopia.topicmaps.utils
Class TopicTreeNode

java.lang.Object
  extended by net.ontopia.topicmaps.utils.TopicTreeNode

public class TopicTreeNode
extends java.lang.Object

EXPERIMENTAL.

Since:
1.2

Field Summary
protected  java.util.HashMap attributes
           
protected  java.util.List children
           
protected  TopicTreeNode parent
           
protected  TopicIF topic
           
 
Constructor Summary
TopicTreeNode(TopicIF topic)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
           
 java.util.List getChildren()
          Returns a List containing TopicTreeNode objects.
 TopicTreeNode getParent()
           
 TopicIF getTopic()
           
 void setAttribute(java.lang.String name, java.lang.Object value)
           
 void setParent(TopicTreeNode parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected TopicTreeNode parent

children

protected java.util.List children

topic

protected TopicIF topic

attributes

protected java.util.HashMap attributes
Constructor Detail

TopicTreeNode

public TopicTreeNode(TopicIF topic)
Method Detail

getChildren

public java.util.List getChildren()
Returns a List containing TopicTreeNode objects.


getParent

public TopicTreeNode getParent()

setParent

public void setParent(TopicTreeNode parent)

getTopic

public TopicIF getTopic()

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)

getAttribute

public java.lang.Object getAttribute(java.lang.String name)


Copyright © 2000-2012 Ontopia.