jcolibri.method.retrieve.FilterBasedRetrieval
Class FilterConfig

java.lang.Object
  extended by 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
 
Method Summary
 void addPredicate(Attribute attribute, FilterPredicate predicate)
          Adds a new predicate
 java.util.Collection<Attribute> getDefinedAttributes()
          Returns a list of attributres that have a predicate defined.
 FilterPredicate getPredicate(Attribute attribute)
          Gets the predicate for a given attribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterConfig

public FilterConfig()
Creates the FilterConfig object

Method Detail

addPredicate

public void addPredicate(Attribute attribute,
                         FilterPredicate predicate)
Adds a new predicate

Parameters:
attribute - that the predicate is associated to
predicate - 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.


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es