|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.javamatch.query.MatchQuery net.sourceforge.javamatch.query.StringQuery net.sourceforge.javamatch.query.StringEquals
Class StringEquals is a query that check if a value is equal to the specified one, when the value is a string
Constructor Summary | |
StringEquals(java.lang.String memberName,
java.lang.String matchValue)
Creates a new StringEquals-query, that checks the given member name for the given match value |
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.StringQuery |
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 StringEquals(java.lang.String memberName, java.lang.String matchValue)
memberName
- the name of the member that is matchedmatchValue
- the value against which is matchedMethod Detail |
public float getMatchValue(java.lang.Object targetObject) throws MatchException
getMatchValue
in class MatchQuery
targetObject
- 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 |