public abstract class JavaPredicate extends Object implements BasicPredicateIF
Constructor and Description |
---|
JavaPredicate() |
Modifier and Type | Method and Description |
---|---|
int |
getCost(boolean[] boundparams)
INTERNAL.
|
String |
getModuleURI() |
String |
getName()
INTERNAL: Returns the name of the predicate.
|
Map |
getParameters() |
String |
getPredicateName() |
String |
getSignature()
INTERNAL: Returns a string representing the signature of the
predicate.
|
TopicMapIF |
getTopicMap() |
abstract QueryMatches |
satisfy(QueryMatches matches,
Object[] arguments)
INTERNAL: Internal machinery.
|
void |
setModuleURI(String moduleURI) |
void |
setParameters(Map parameters) |
void |
setPredicateName(String predicateName) |
void |
setTopicMap(TopicMapIF topicmap) |
public String getName()
PredicateIF
getName
in interface PredicateIF
public 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 String getModuleURI()
public void setModuleURI(String moduleURI)
public String getPredicateName()
public void setPredicateName(String predicateName)
public TopicMapIF getTopicMap()
public void setTopicMap(TopicMapIF topicmap)
public Map getParameters()
public void setParameters(Map parameters)
public abstract QueryMatches satisfy(QueryMatches matches, Object[] arguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException