SienaXML (v.2.0.0) API documentation

siena.xml.rules
Class InequalityCondition

java.lang.Object
  extended by siena.xml.rules.InequalityCondition

public class InequalityCondition
extends java.lang.Object

This class checks for inequality conditions, such as less than.


Constructor Summary
InequalityCondition(double value, boolean testForLess)
          Constructor
InequalityCondition(int value, boolean testForLess)
          Creates new InequalityCondition
 
Method Summary
 boolean meetCondition(java.lang.Object whatToEvaluate)
          Method to call to see if the object meets the condition specified by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InequalityCondition

public InequalityCondition(int value,
                           boolean testForLess)
Creates new InequalityCondition

Parameters:
value - Value to compare against
testForLess - Flag to indicate if the comparison is for less than the specified value.

InequalityCondition

public InequalityCondition(double value,
                           boolean testForLess)
Constructor

Parameters:
value - Value to compare against
testForLess - Flag to indicate if the comparison is for less than the specified value.
Method Detail

meetCondition

public boolean meetCondition(java.lang.Object whatToEvaluate)
Method to call to see if the object meets the condition specified by this object.

Parameters:
whatToEvaluate - Object to evaluate the conditions against.
Returns:
True if the object meets the conditions in this object.

SienaXML (v.2.0.0) API documentation

Copyright © 2000-2002 University of Colorado.
This documentation is maintained by Antonio Carzaniga