|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.javamatch.query.MatchQuery
net.sourceforge.javamatch.query.NumericQuery
net.sourceforge.javamatch.query.Range
Class Range is a query that checks if the value of an instance variable is within the specified range
| Constructor Summary | |
Range(java.lang.String memberName,
double minimumValue,
double maximumValue)
Creates a new Range-query, that compares the given member name with the given minimum and maximum values |
|
| Method Summary | |
float |
getMatchValue(java.lang.Object targetObject)
Returns the match value of this match query, when executed on the given object. |
| Methods inherited from class net.sourceforge.javamatch.query.NumericQuery |
getValue |
| Methods inherited from class net.sourceforge.javamatch.query.MatchQuery |
getObjectValue, isTwoPass, prePass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Range(java.lang.String memberName,
double minimumValue,
double maximumValue)
memberName - the name of the member that is matchedminimumValue - the minimum value in this rangemaximumValue - the maximum value in this range| Method Detail |
public float getMatchValue(java.lang.Object targetObject)
throws MatchException
getMatchValue in class MatchQuerytargetObject - the object agains which the query is executed
MatchException - when the value could not be retrieved
|
Hosted by |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||