net.ontopia.topicmaps.query.impl.basic
Class AbstractDynamicPredicate

java.lang.Object
  extended by net.ontopia.topicmaps.query.impl.basic.AbstractDynamicPredicate
All Implemented Interfaces:
BasicPredicateIF, PredicateIF
Direct Known Subclasses:
DynamicAssociationPredicate, DynamicFailurePredicate, DynamicOccurrencePredicate

public abstract class AbstractDynamicPredicate
extends java.lang.Object
implements BasicPredicateIF

INTERNAL: Common code-sharing superclass for dynamic predicates.


Field Summary
protected  LocatorIF base
           
protected  java.lang.String name
           
protected  TopicIF type
           
 
Constructor Summary
AbstractDynamicPredicate(java.lang.String name)
           
AbstractDynamicPredicate(TopicIF type, LocatorIF base)
           
 
Method Summary
 java.lang.String getName()
          INTERNAL: Returns the name of the predicate.
 TopicIF 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, getSignature
 

Field Detail

name

protected java.lang.String name

type

protected TopicIF type

base

protected LocatorIF base
Constructor Detail

AbstractDynamicPredicate

public AbstractDynamicPredicate(java.lang.String name)

AbstractDynamicPredicate

public AbstractDynamicPredicate(TopicIF type,
                                LocatorIF base)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: PredicateIF
INTERNAL: Returns the name of the predicate. This will usually be the name of the predicate within its module ('instance-of', '/=', 'starts-with'), but some virtual predicates cannot be reached from the syntax and may return names that will not parse.

Specified by:
getName in interface PredicateIF

getType

public TopicIF getType()


Copyright © 2000-2012 Ontopia.