gov.usda.gdpc
Interface FilterValue

All Known Implementing Classes:
AbstractFilterValue

public interface FilterValue

This represents a value which is used to define the critera of a filter.

Author:
terryc

Method Summary
 Property getProperty()
          Returns the property associated with this value.
 FilterValueType getType()
          Returns type of this filter value.
 boolean matches(java.util.Map properties)
          Returns whether the given properties match this filter value.
 

Method Detail

getType

public FilterValueType getType()
Returns type of this filter value.

Returns:
filter value type

getProperty

public Property getProperty()
Returns the property associated with this value.

Returns:
property

matches

public boolean matches(java.util.Map properties)
Returns whether the given properties match this filter value.

Parameters:
properties - properties to check
Returns:
true if all properties matches