|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Filter used to define search criteria when requesting data from a DBGateway.
| Method Summary | |
void |
addValue(FilterValue value)
Adds a value for a particular property for this filter. |
Property[] |
getDefinedProperties()
Gets all the properties that have defined criteria. |
Property[] |
getDefinedProperties(FilterValueType type)
Gets all the properties that have defined criteria for the given filter value type. |
FilterValueType[] |
getDefinedTypes()
Gets all the filter value types that have defined critera. |
java.lang.String |
getType()
Get type of this filter. |
FilterValue[] |
getValues(FilterValueType type)
Gets all the values set for the given filter value type. |
FilterValue[] |
getValues(Property property)
Gets all the values set for the given property. |
FilterValue[] |
getValues(Property property,
FilterValueType type)
Gets all the values set for the given property and filter value type. |
boolean |
matches(java.util.Map properties)
Returns whether the given properties match this filter. |
void |
resetProperty(Property property)
Reset the specified property to have no values for this filter. |
| Method Detail |
public void resetProperty(Property property)
property - propertypublic void addValue(FilterValue value)
value - valuepublic Property[] getDefinedProperties(FilterValueType type)
type - type of value (i.e. SINGLE_VALUE, RANGE, etc.)
public Property[] getDefinedProperties()
public FilterValue[] getValues(Property property,
FilterValueType type)
property - propertytype - type of value (i.e. SINGLE_VALUE, RANGE, etc.)
public FilterValue[] getValues(FilterValueType type)
type - type of value (i.e. SINGLE_VALUE, RANGE, etc.)
public FilterValue[] getValues(Property property)
property - property
public FilterValueType[] getDefinedTypes()
public boolean matches(java.util.Map properties)
properties - properties to check
public java.lang.String getType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||