jcolibri.method.retrieve.FilterBasedRetrieval
Class FilterConfig
java.lang.Object
jcolibri.method.retrieve.FilterBasedRetrieval.FilterConfig
public class FilterConfig
- extends java.lang.Object
Configuration object for the FilterBasedRetrievalMethod.
It contains a Map with pairs .
- Version:
- 1.0
- Author:
- Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.
Constructor Summary |
FilterConfig()
Creates the FilterConfig object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterConfig
public FilterConfig()
- Creates the FilterConfig object
addPredicate
public void addPredicate(Attribute attribute,
FilterPredicate predicate)
- Adds a new predicate
- Parameters:
attribute
- that the predicate is associated topredicate
- for the attribute
getPredicate
public FilterPredicate getPredicate(Attribute attribute)
- Gets the predicate for a given attribute
- Parameters:
attribute
- of the predicated
getDefinedAttributes
public java.util.Collection<Attribute> getDefinedAttributes()
- Returns a list of attributres that have a predicate defined.