Class DynamicAssociationPredicate
java.lang.Object
net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate
- All Implemented Interfaces:
BasicPredicateIF,PredicateIF
- Direct Known Subclasses:
DynamicAssociationPredicate
INTERNAL: Implements association type predicates.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
base, name, type -
Constructor Summary
ConstructorsConstructorDescriptionDynamicAssociationPredicate(TopicMapIF topicmap, LocatorIF base, TopicIF type) -
Method Summary
Modifier and TypeMethodDescriptionprotected DynamicAssociationPredicate.ArgumentPair[]getBoundArguments(QueryMatches matches, Object[] arguments, int boundarg) intgetCost(boolean[] boundparams) INTERNAL.INTERNAL: Returns a string representing the signature of the predicate.protected DynamicAssociationPredicate.ArgumentPair[]getUnboundArguments(QueryMatches matches, Object[] arguments) satisfy(QueryMatches matches, Object[] arguments) Methods inherited from class net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
getName, getType
-
Field Details
-
topicmap
-
index
-
-
Constructor Details
-
DynamicAssociationPredicate
-
-
Method Details
-
getSignature
Description copied from interface:PredicateIFINTERNAL: Returns a string representing the signature of the predicate. The string consists of a whitespace-separated list of arguments, where each argument is made up of tokens representing the type or cardinality of that argument.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.
-
getCost
public int getCost(boolean[] boundparams) Description copied from interface:PredicateIFINTERNAL. -
satisfy
- Throws:
InvalidQueryException
-
getBoundArguments
protected DynamicAssociationPredicate.ArgumentPair[] getBoundArguments(QueryMatches matches, Object[] arguments, int boundarg) throws InvalidQueryException - Throws:
InvalidQueryException
-
getUnboundArguments
protected DynamicAssociationPredicate.ArgumentPair[] getUnboundArguments(QueryMatches matches, Object[] arguments) throws InvalidQueryException - Throws:
InvalidQueryException
-