edu.lehigh.swat.obione
Class Node
java.lang.Object
edu.lehigh.swat.obione.Node
- Direct Known Subclasses:
- GoalNode, RuleNode
public class Node
- extends java.lang.Object
Models a node of a PDMS rule goal tree
- Author:
- Abir Qasem
|
Constructor Summary |
Node()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private int id
parent
private Node parent
children
private java.util.Vector<Node> children
Node
public Node()
setChildren
public void setChildren(java.util.Vector<Node> children)
addChild
public void addChild(Node n)
getId
public int getId()
setId
public void setId(int id)
getParent
public Node getParent()
setParent
public void setParent(Node parent)
getChildren
public java.util.Vector<Node> getChildren()