edu.UCL.satin.impl.arch.attribute
Interface MatchFilter
- All Known Implementing Classes:
- AnyFilter, ContainsFilter, GreaterEqualThanFilter, GreaterThanFilter, LesserEqualThanFilter, LesserThanFilter, StringExactMatchFilter
- public interface MatchFilter
A MatchFilter is a class that compares the value of a GenericAttribute with that of a FilterAttribute.
- Author:
- Stefanos Zachariadis
compare
public boolean compare(MatchAttribute filter,
GenericAttribute attr)
- Compares the value of attr with that of filter. The implementor may assume that this method will only be called if both attributes have the same key.
- Parameters:
filter
- The filter attribute to which this MatchFilter is attachedattr
- The attribute with which we are comparing.
- Returns:
- Must return true, if the values of the attributes satisfy the implementors semantics. False otherwise