Class NotClause
- java.lang.Object
-
- net.ontopia.topicmaps.query.parser.AbstractClause
-
- net.ontopia.topicmaps.query.parser.NotClause
-
public class NotClause extends AbstractClause
INTERNAL: Used to represent not clauses in tolog queries.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection
getAllLiterals()
INTERNAL: Returns all the literals used by this clause as parameters.Collection
getAllVariables()
INTERNAL: Returns all the variables bound by this clause when it is satisfied.List
getArguments()
INTERNAL: Returns the arguments of this clause.List
getClauses()
void
setClauseList(List clauses)
String
toString()
-
-
-
Field Detail
-
clauses
protected List clauses
-
-
Constructor Detail
-
NotClause
public NotClause()
-
NotClause
public NotClause(List clauses)
-
-
Method Detail
-
setClauseList
public void setClauseList(List clauses)
-
getClauses
public List getClauses()
-
getAllVariables
public Collection getAllVariables()
Description copied from class:AbstractClause
INTERNAL: Returns all the variables bound by this clause when it is satisfied.- Specified by:
getAllVariables
in classAbstractClause
-
getAllLiterals
public 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 classAbstractClause
-
getArguments
public 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 classAbstractClause
-
-