org.deduced.rule
Class DeductionRuleLibrary.CompareResult

java.lang.Object
  extended by org.deduced.rule.DeductionRuleLibrary.CompareResult
Enclosing class:
DeductionRuleLibrary

public static class DeductionRuleLibrary.CompareResult
extends java.lang.Object

CompareResult is an utility class to store a collection and a value

Author:
Steve McDuff

Field Summary
private  PropertyCollection collection
          the property collection
private  java.lang.Comparable value
          the value in the collection
 
Constructor Summary
DeductionRuleLibrary.CompareResult()
           
 
Method Summary
 PropertyCollection getCollection()
           
 java.lang.Comparable getValue()
           
 void setCollection(PropertyCollection setCollection)
           
 void setValue(java.lang.Comparable setValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collection

private PropertyCollection collection
the property collection


value

private java.lang.Comparable value
the value in the collection

Constructor Detail

DeductionRuleLibrary.CompareResult

public DeductionRuleLibrary.CompareResult()
Method Detail

setCollection

public void setCollection(PropertyCollection setCollection)
Parameters:
setCollection - the collection to set

getCollection

public PropertyCollection getCollection()
Returns:
the collection

setValue

public void setValue(java.lang.Comparable setValue)
Parameters:
setValue - the value to set

getValue

public java.lang.Comparable getValue()
Returns:
the value