Interface Filter<T>
- All Superinterfaces:
Condition<T>
,Serializable
- All Known Implementing Classes:
AbstractFilter
,AlarmFilter
,TagQuery
,TagQueryFilter
A filter contains multiple conditions, and operates on a type of object. Instances of that object are passed through,
and true/false is returned according to whether they pass the conditions of the filter.
-
Method Summary
Modifier and TypeMethodDescription<V,
C extends Condition<V>>
CgetConditionFor
(Field<T, V, C> field) Returns the condition for the field, or null if it doesn't exist.boolean
hasConditionFor
(Field<T, ?, ?> field) Returns whether the filter has a condition for the field.
-
Method Details
-
hasConditionFor
Returns whether the filter has a condition for the field. -
getConditionFor
Returns the condition for the field, or null if it doesn't exist.
-