Class AbstractClause

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

public abstract class AbstractClause extends Object
INTERNAL: Common superclass for or clauses and other kinds of clauses.
  • Constructor Details

    • AbstractClause

      public AbstractClause()
  • Method Details

    • getAllVariables

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

      public abstract 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 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.