|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.AbstractFilterValue
gov.usda.gdpc.FilterLikeValue
This is a filter value which consists of a single string value which may contain the wild card(s) %, as a means of matching zero or more characters in that position.
| Field Summary |
| Fields inherited from class gov.usda.gdpc.AbstractFilterValue |
myProperty |
| Constructor Summary | |
FilterLikeValue(Property property,
java.lang.String value)
FilterLikeValue Constructor. |
|
| Method Summary | |
FilterValueType |
getType()
Returns type of this filter value. |
java.lang.String |
getValue()
Gets the like value. |
boolean |
matches(java.util.Map properties)
Returns whether the given properties match this filter value. |
java.lang.String |
toString()
Returns the String representation of this filter value. |
| Methods inherited from class gov.usda.gdpc.AbstractFilterValue |
getProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FilterLikeValue(Property property,
java.lang.String value)
property - property associated with this valuevalue - value (this can not be null)| Method Detail |
public FilterValueType getType()
public java.lang.String getValue()
public boolean matches(java.util.Map properties)
properties - properties to check
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||