public class ItemIdentifierPredicate extends Object implements BasicPredicateIF
| Modifier and Type | Field and Description |
|---|---|
protected String |
predicateName |
protected TopicMapIF |
topicmap |
| Constructor and Description |
|---|
ItemIdentifierPredicate(TopicMapIF topicmap,
String predicateName) |
| 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.
|
protected void |
prefetchSources(QueryMatches matches,
Object[] arguments,
int objix) |
QueryMatches |
satisfy(QueryMatches matches,
Object[] arguments) |
protected TopicMapIF topicmap
protected String predicateName
public ItemIdentifierPredicate(TopicMapIF topicmap, String predicateName)
public String getName()
PredicateIFgetName in interface PredicateIFpublic String getSignature()
PredicateIFThe 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 PredicateIFpublic int getCost(boolean[] boundparams)
PredicateIFgetCost in interface PredicateIFpublic QueryMatches satisfy(QueryMatches matches, Object[] arguments) throws InvalidQueryException
satisfy in interface BasicPredicateIFInvalidQueryExceptionprotected void prefetchSources(QueryMatches matches, Object[] arguments, int objix)