net.ontopia.topicmaps.query.parser
Class OrClause
java.lang.Object
net.ontopia.topicmaps.query.parser.AbstractClause
net.ontopia.topicmaps.query.parser.OrClause
public class OrClause
- extends AbstractClause
INTERNAL: Used to represent or clauses in tolog queries.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
alternatives
protected java.util.List alternatives
shortcircuit
protected boolean shortcircuit
OrClause
public OrClause()
OrClause
public OrClause(java.util.List alternatives)
getShortCircuit
public boolean getShortCircuit()
setShortCircuit
public void setShortCircuit(boolean shortcircuit)
addClauseList
public void addClauseList(java.util.List alternative)
getAlternatives
public java.util.List getAlternatives()
getAllVariables
public java.util.Collection getAllVariables()
- Description copied from class:
AbstractClause
- INTERNAL: Returns all the variables bound by this clause when it
is satisfied.
- Specified by:
getAllVariables
in class AbstractClause
getAllLiterals
public java.util.Collection getAllLiterals()
- Description copied from class:
AbstractClause
- INTERNAL: Returns all the literals used by this clause as
parameters. (Literals in the second half of pair arguments are
ignored.)
- Specified by:
getAllLiterals
in class AbstractClause
getArguments
public java.util.List getArguments()
- Description copied from class:
AbstractClause
- 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.
- Specified by:
getArguments
in class AbstractClause
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2000-2012 Ontopia.