|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.spi.JavaPredicate
public abstract class JavaPredicate
INTERNAL: Abstract predicate class that works as a common superclass for the real predicate classes. Don't subclass this one directly; instead, subclass one of its subclasses, FilterPredicate or ProcessPredicated, depending on what kind of predicate you want.
Constructor Summary | |
---|---|
JavaPredicate()
|
Method Summary | |
---|---|
int |
getCost(boolean[] boundparams)
INTERNAL. |
java.lang.String |
getModuleURI()
|
java.lang.String |
getName()
INTERNAL: Returns the name of the predicate. |
java.util.Map |
getParameters()
|
java.lang.String |
getPredicateName()
|
java.lang.String |
getSignature()
INTERNAL: Returns a string representing the signature of the predicate. |
TopicMapIF |
getTopicMap()
|
abstract QueryMatches |
satisfy(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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaPredicate()
Method Detail |
---|
public java.lang.String getName()
PredicateIF
getName
in interface PredicateIF
public java.lang.String getSignature()
PredicateIF
The instance-of predicate would have a signature of "t t", while /= would have ". .", and in would have ". .+". For full details, see topicmaps.impl.utils.ArgumentValidator.
getSignature
in interface PredicateIF
public int getCost(boolean[] boundparams)
PredicateIF
getCost
in interface PredicateIF
public java.lang.String getModuleURI()
public void setModuleURI(java.lang.String moduleURI)
public java.lang.String getPredicateName()
public void setPredicateName(java.lang.String predicateName)
public TopicMapIF getTopicMap()
public void setTopicMap(TopicMapIF topicmap)
public java.util.Map getParameters()
public void setParameters(java.util.Map parameters)
public abstract QueryMatches satisfy(QueryMatches matches, java.lang.Object[] arguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |