edu.lehigh.swat.obione
Class RuleNode

java.lang.Object
  extended by edu.lehigh.swat.obione.Node
      extended by edu.lehigh.swat.obione.RuleNode

public class RuleNode
extends Node

Models a rule node of a PDMS rule goal tree

Author:
Abir Qasem
See Also:
rule node

Field Summary
private  Map label
           
private  java.util.Vector<Node> uncles
           
 
Constructor Summary
RuleNode(int id)
          debug contructor should be taken out
RuleNode(Map m)
           
 
Method Summary
(package private)  void addUncle(Node n)
           
(package private)  Map getLabel()
           
(package private)  java.util.Vector<Node> getUncle()
           
 java.lang.String toString()
           
 
Methods inherited from class edu.lehigh.swat.obione.Node
addChild, getChildren, getId, getParent, setChildren, setId, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

private Map label

uncles

private java.util.Vector<Node> uncles
Constructor Detail

RuleNode

RuleNode(int id)
debug contructor should be taken out


RuleNode

RuleNode(Map m)
Method Detail

getLabel

Map getLabel()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addUncle

void addUncle(Node n)

getUncle

java.util.Vector<Node> getUncle()