|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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 List |
arguments
|
protected PredicateIF |
predicate
|
| Constructor Summary | |
|---|---|
PredicateClause()
|
|
PredicateClause(PredicateIF predicate)
|
|
PredicateClause(PredicateIF predicate,
List arguments)
|
|
| Method Summary | |
|---|---|
void |
addArgument(Object object)
|
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. |
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)
|
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 List arguments
| Constructor Detail |
|---|
public PredicateClause()
public PredicateClause(PredicateIF predicate)
public PredicateClause(PredicateIF predicate,
List arguments)
| Method Detail |
|---|
public List getArguments()
AbstractClause
getArguments in class AbstractClausepublic PredicateIF getPredicate()
public void setPredicate(PredicateIF predicate)
public void addArgument(Object object)
public String toString()
toString in class Objectpublic Collection getAllVariables()
AbstractClause
getAllVariables in class AbstractClausepublic Collection getAllLiterals()
AbstractClause
getAllLiterals in class AbstractClausepublic PredicateClause getReplacement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||