ponderToolkit.analyzer
Class AbstractComplexPriorityRule

java.lang.Object
  |
  +--ponderToolkit.analyzer.AbstractComplexPriorityRule
All Implemented Interfaces:
PriorityRule
Direct Known Subclasses:
ANDComplexPriorityRule, NOTComplexPriorityRule, ORComplexPriorityRule, XORComplexPriorityRule

public abstract class AbstractComplexPriorityRule
extends java.lang.Object
implements PriorityRule


Field Summary
 java.lang.String description
           
 PriorityRule left
           
 PriorityRule right
           
 
Constructor Summary
AbstractComplexPriorityRule(java.lang.String description, PriorityRule left, PriorityRule right)
           
 
Method Summary
abstract  boolean applies(PolicyBinaryConflict c)
           
 PriorityRule get_left()
           
 PriorityRule get_right()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

description

public java.lang.String description

left

public PriorityRule left

right

public PriorityRule right
Constructor Detail

AbstractComplexPriorityRule

public AbstractComplexPriorityRule(java.lang.String description,
                                   PriorityRule left,
                                   PriorityRule right)
Method Detail

get_left

public PriorityRule get_left()

get_right

public PriorityRule get_right()

toString

public java.lang.String toString()
Specified by:
toString in interface PriorityRule
Overrides:
toString in class java.lang.Object

applies

public abstract boolean applies(PolicyBinaryConflict c)
                         throws MyException
Specified by:
applies in interface PriorityRule