public class TopicTreeNode extends Object
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,Object> |
attributes |
protected List<TopicTreeNode> |
children |
protected TopicTreeNode |
parent |
protected TopicIF |
topic |
Constructor and Description |
---|
TopicTreeNode(TopicIF topic) |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
List<TopicTreeNode> |
getChildren()
Returns a List containing TopicTreeNode objects.
|
TopicTreeNode |
getParent() |
TopicIF |
getTopic() |
void |
setAttribute(String name,
Object value) |
void |
setParent(TopicTreeNode parent) |
protected TopicTreeNode parent
protected List<TopicTreeNode> children
protected TopicIF topic
public TopicTreeNode(TopicIF topic)
public List<TopicTreeNode> getChildren()
public TopicTreeNode getParent()
public void setParent(TopicTreeNode parent)
public TopicIF getTopic()