com.isti.trinetwatch.ruleset
Class Comparison

java.lang.Object
  extended by com.isti.trinetwatch.ruleset.Comparison

public class Comparison
extends java.lang.Object

Class Comparison defines a value for a status level.


Constructor Summary
Comparison(StatusLevelTag statusLevel, java.lang.Object value)
          Creates a Comparison object.
 
Method Summary
 StatusLevelTag getStatusLevel()
          Returns the handle of the StatusLevelTag for this object.
 IComparisonValue getValue()
          Returns the value.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comparison

public Comparison(StatusLevelTag statusLevel,
                  java.lang.Object value)
Creates a Comparison object.

Parameters:
statusLevel - the StatusLevelTag object.
value - an object containing the value to be associated with the given status level (such as an 'Integer', 'Double', etc.)
Method Detail

getStatusLevel

public StatusLevelTag getStatusLevel()
Returns the handle of the StatusLevelTag for this object.

Returns:
the StatusLevelTag.

getValue

public IComparisonValue getValue()
Returns the value.

Returns:
the value.

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object.