public class OccurrencePredicate extends Object implements BasicPredicateIF
Modifier and Type | Field and Description |
---|---|
protected TopicMapIF |
topicmap |
Constructor and Description |
---|
OccurrencePredicate(TopicMapIF topicmap) |
Modifier and Type | Method and Description |
---|---|
int |
getCost(boolean[] boundparams)
INTERNAL.
|
String |
getName()
INTERNAL: Returns the name of the predicate.
|
String |
getSignature()
INTERNAL: Returns a string representing the signature of the
predicate.
|
QueryMatches |
satisfy(QueryMatches matches,
Object[] arguments) |
protected TopicMapIF topicmap
public OccurrencePredicate(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 QueryMatches satisfy(QueryMatches matches, Object[] arguments) throws InvalidQueryException
satisfy
in interface BasicPredicateIF
InvalidQueryException