net.sourceforge.javamatch.query
Class NumericQuery

java.lang.Object
  extended bynet.sourceforge.javamatch.query.MatchQuery
      extended bynet.sourceforge.javamatch.query.NumericQuery
Direct Known Subclasses:
GreaterThan, LessThan, Maximum, Minimum, NumberEquals, Range

public abstract class NumericQuery
extends MatchQuery

Class NumericQuery is the base class of all MatchQueries that operate on numeric values


Constructor Summary
NumericQuery()
           
 
Method Summary
 double getValue(java.lang.Object srcObject, java.lang.String memberName)
          Returns the value of the given member, when executed on the given object, as a double
 
Methods inherited from class net.sourceforge.javamatch.query.MatchQuery
getMatchValue, getObjectValue, isTwoPass, prePass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericQuery

public NumericQuery()
Method Detail

getValue

public double getValue(java.lang.Object srcObject,
                       java.lang.String memberName)
                throws MatchException
Returns the value of the given member, when executed on the given object, as a double

Parameters:
srcObject - the object on which the member is executed
memberName - the member that is executed
Returns:
the value that was returned by executing the member on the source object
Throws:
MatchException

Hosted by SourceForge.net/