|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.parser.AbstractClause net.ontopia.topicmaps.query.parser.PredicateClause
public class PredicateClause
INTERNAL: Used to represent clauses in tolog queries.
Field Summary | |
---|---|
protected java.util.List |
arguments
|
protected PredicateIF |
predicate
|
Constructor Summary | |
---|---|
PredicateClause()
|
|
PredicateClause(PredicateIF predicate)
|
|
PredicateClause(PredicateIF predicate,
java.util.List arguments)
|
Method Summary | |
---|---|
void |
addArgument(java.lang.Object object)
|
java.util.Collection |
getAllLiterals()
INTERNAL: Returns all the literals used by this clause as parameters. |
java.util.Collection |
getAllVariables()
INTERNAL: Returns all the variables bound by this clause when it is satisfied. |
java.util.List |
getArguments()
INTERNAL: Returns the arguments of this clause. |
PredicateIF |
getPredicate()
|
PredicateClause |
getReplacement()
INTERNAL: Returns an equivalent, but more efficient, clause, if such a clause is possible; if not returns itself. |
void |
setPredicate(PredicateIF predicate)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected PredicateIF predicate
protected java.util.List arguments
Constructor Detail |
---|
public PredicateClause()
public PredicateClause(PredicateIF predicate)
public PredicateClause(PredicateIF predicate, java.util.List arguments)
Method Detail |
---|
public java.util.List getArguments()
AbstractClause
getArguments
in class AbstractClause
public PredicateIF getPredicate()
public void setPredicate(PredicateIF predicate)
public void addArgument(java.lang.Object object)
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Collection getAllVariables()
AbstractClause
getAllVariables
in class AbstractClause
public java.util.Collection getAllLiterals()
AbstractClause
getAllLiterals
in class AbstractClause
public PredicateClause getReplacement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |