Class OrClause
java.lang.Object
net.ontopia.topicmaps.query.parser.AbstractClause
net.ontopia.topicmaps.query.parser.OrClause
INTERNAL: Used to represent or clauses in tolog queries.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClauseList(List alternative) INTERNAL: Returns all the literals used by this clause as parameters.INTERNAL: Returns all the variables bound by this clause when it is satisfied.INTERNAL: Returns the arguments of this clause.booleanvoidsetShortCircuit(boolean shortcircuit) toString()
-
Field Details
-
alternatives
-
shortcircuit
protected boolean shortcircuit
-
-
Constructor Details
-
OrClause
public OrClause() -
OrClause
-
-
Method Details
-
getShortCircuit
public boolean getShortCircuit() -
setShortCircuit
public void setShortCircuit(boolean shortcircuit) -
addClauseList
-
getAlternatives
-
getAllVariables
Description copied from class:AbstractClauseINTERNAL: Returns all the variables bound by this clause when it is satisfied.- Specified by:
getAllVariablesin classAbstractClause
-
getAllLiterals
Description copied from class:AbstractClauseINTERNAL: Returns all the literals used by this clause as parameters. (Literals in the second half of pair arguments are ignored.)- Specified by:
getAllLiteralsin classAbstractClause
-
getArguments
Description copied from class:AbstractClauseINTERNAL: 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:
getArgumentsin classAbstractClause
-
toString
-