net.ontopia.topicmaps.query.spi
Class JavaPredicate
java.lang.Object
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.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaPredicate
public JavaPredicate()
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.