net.ontopia.topicmaps.query.spi
Class JavaPredicate

java.lang.Object
  extended by net.ontopia.topicmaps.query.spi.JavaPredicate
All Implemented Interfaces:
net.ontopia.topicmaps.query.impl.basic.BasicPredicateIF, net.ontopia.topicmaps.query.parser.PredicateIF
Direct Known Subclasses:
FilterPredicate, ProcessPredicate

public abstract class JavaPredicate
extends java.lang.Object
implements net.ontopia.topicmaps.query.impl.basic.BasicPredicateIF

INTERNAL: Abstract predicate class that works as a common superclass for the real predicate classes. Don't subclass this one directly.


Constructor Summary
JavaPredicate()
           
 
Method Summary
 int getCost(boolean[] boundparams)
           
 java.lang.String getModuleURI()
           
 java.lang.String getName()
           
 java.util.Map getParameters()
           
 java.lang.String getPredicateName()
           
 java.lang.String getSignature()
           
 TopicMapIF getTopicMap()
           
abstract  net.ontopia.topicmaps.query.impl.basic.QueryMatches satisfy(net.ontopia.topicmaps.query.impl.basic.QueryMatches matches, java.lang.Object[] arguments)
          INTERNAL: Internal machinery.
 void setModuleURI(java.lang.String moduleURI)
           
 void setParameters(java.util.Map parameters)
           
 void setPredicateName(java.lang.String predicateName)
           
 void setTopicMap(TopicMapIF topicmap)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaPredicate

public JavaPredicate()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface net.ontopia.topicmaps.query.parser.PredicateIF

getSignature

public java.lang.String getSignature()
Specified by:
getSignature in interface net.ontopia.topicmaps.query.parser.PredicateIF

getCost

public int getCost(boolean[] boundparams)
Specified by:
getCost in interface net.ontopia.topicmaps.query.parser.PredicateIF

getModuleURI

public java.lang.String getModuleURI()

setModuleURI

public void setModuleURI(java.lang.String moduleURI)

getPredicateName

public java.lang.String getPredicateName()

setPredicateName

public void setPredicateName(java.lang.String predicateName)

getTopicMap

public TopicMapIF getTopicMap()

setTopicMap

public void setTopicMap(TopicMapIF topicmap)

getParameters

public java.util.Map getParameters()

setParameters

public void setParameters(java.util.Map parameters)

satisfy

public abstract net.ontopia.topicmaps.query.impl.basic.QueryMatches satisfy(net.ontopia.topicmaps.query.impl.basic.QueryMatches matches,
                                                                            java.lang.Object[] arguments)
                                                                     throws InvalidQueryException
INTERNAL: Internal machinery.

Specified by:
satisfy in interface net.ontopia.topicmaps.query.impl.basic.BasicPredicateIF
Throws:
InvalidQueryException


Copyright © 2000-2009 Ontopia.