net.ontopia.topicmaps.query.spi
Class EqualsFilter

java.lang.Object
  extended by net.ontopia.topicmaps.query.spi.JavaPredicate
      extended by net.ontopia.topicmaps.query.spi.FilterPredicate
          extended by net.ontopia.topicmaps.query.spi.EqualsFilter
All Implemented Interfaces:
BasicPredicateIF, PredicateIF

public class EqualsFilter
extends FilterPredicate

EXPERIMENTAL: Sample filter implementation that returns true if all arguments are equal.

Since:
4.0

Constructor Summary
EqualsFilter()
           
 
Method Summary
 boolean filter(Object[] objects)
          EXPERIMENTAL: Returns true if the given row objects should be included in the result.
 
Methods inherited from class net.ontopia.topicmaps.query.spi.FilterPredicate
satisfy
 
Methods inherited from class net.ontopia.topicmaps.query.spi.JavaPredicate
getCost, getModuleURI, getName, getParameters, getPredicateName, getSignature, getTopicMap, setModuleURI, setParameters, setPredicateName, setTopicMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EqualsFilter

public EqualsFilter()
Method Detail

filter

public boolean filter(Object[] objects)
               throws InvalidQueryException
Description copied from class: FilterPredicate
EXPERIMENTAL: Returns true if the given row objects should be included in the result.

Specified by:
filter in class FilterPredicate
Throws:
InvalidQueryException


Copyright © 2000-2012 Ontopia.