net.ontopia.topicmaps.query.parser
Class AbstractClause

java.lang.Object
  extended by net.ontopia.topicmaps.query.parser.AbstractClause
Direct Known Subclasses:
NotClause, OrClause, PredicateClause

public abstract class AbstractClause
extends java.lang.Object

INTERNAL: Common superclass for or clauses and other kinds of clauses.


Constructor Summary
AbstractClause()
           
 
Method Summary
abstract  java.util.Collection getAllLiterals()
          INTERNAL: Returns all the literals used by this clause as parameters.
abstract  java.util.Collection getAllVariables()
          INTERNAL: Returns all the variables bound by this clause when it is satisfied.
abstract  java.util.List getArguments()
          INTERNAL: Returns the arguments of this clause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractClause

public AbstractClause()
Method Detail

getAllVariables

public abstract java.util.Collection getAllVariables()
INTERNAL: Returns all the variables bound by this clause when it is satisfied.


getAllLiterals

public abstract java.util.Collection getAllLiterals()
INTERNAL: Returns all the literals used by this clause as parameters. (Literals in the second half of pair arguments are ignored.)


getArguments

public abstract java.util.List getArguments()
INTERNAL: Returns the arguments of this clause. For OrClause this is the list of all arguments to all the subclauses in the OrClause. Likewise for NotClause.



Copyright © 2000-2012 Ontopia.