Class DynamicAssociationPredicate
- java.lang.Object
-
- net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
-
- net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate
-
- net.ontopia.topicmaps.query.impl.rdbms.DynamicAssociationPredicate
-
- All Implemented Interfaces:
BasicPredicateIF,JDOPredicateIF,PredicateIF
public class DynamicAssociationPredicate extends DynamicAssociationPredicate implements JDOPredicateIF
INTERNAL: Implements dynamic association predicates.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate
DynamicAssociationPredicate.ArgumentPair
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate
index, topicmap
-
Fields inherited from class net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
base, name, type
-
-
Constructor Summary
Constructors Constructor Description DynamicAssociationPredicate(TopicMapIF topicmap, LocatorIF base, TopicIF type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbuildQuery(QueryBuilder builder, List expressions, List arguments)INTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.booleanisRecursive()INTERNAL:voidprescan(QueryBuilder builder, List arguments)INTERNAL: This method will be called before building the query.-
Methods inherited from class net.ontopia.topicmaps.query.impl.basic.DynamicAssociationPredicate
getBoundArguments, getCost, getSignature, getUnboundArguments, satisfy
-
Methods inherited from class net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
getName, getType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.ontopia.topicmaps.query.impl.basic.BasicPredicateIF
satisfy
-
Methods inherited from interface net.ontopia.topicmaps.query.parser.PredicateIF
getCost, getName, getSignature
-
-
-
-
Constructor Detail
-
DynamicAssociationPredicate
public DynamicAssociationPredicate(TopicMapIF topicmap, LocatorIF base, TopicIF type)
-
-
Method Detail
-
isRecursive
public boolean isRecursive()
Description copied from interface:JDOPredicateIFINTERNAL:- Specified by:
isRecursivein interfaceJDOPredicateIF
-
prescan
public void prescan(QueryBuilder builder, List arguments)
Description copied from interface:JDOPredicateIFINTERNAL: This method will be called before building the query. It is used mainly for analyzing the predicate.- Specified by:
prescanin interfaceJDOPredicateIF
-
buildQuery
public boolean buildQuery(QueryBuilder builder, List expressions, List arguments) throws InvalidQueryException
Description copied from interface:JDOPredicateIFINTERNAL: Registers JDOExpressionsIF for this predicate with the query builder.- Specified by:
buildQueryin interfaceJDOPredicateIF- Returns:
- true if predicate was mapped to JDO expression; false if the predicate could not be mapped to an JDO expression.
- Throws:
InvalidQueryException
-
-