|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--prolog.implementation.Fact
|
+--prolog.implementation.Query
Query is a fact implementation with overriding the toString method. A query has e.g. the following form: ?-name(X,Y).
| Fields inherited from class prolog.implementation.Fact |
name, relation |
| Constructor Summary | |
Query(IFact f)
constructor |
|
Query(int name)
constructor |
|
Query(int name,
IRelation r)
constructor |
|
| Method Summary | |
java.lang.String |
toString()
returns a string representation of this class |
java.lang.String |
toString(ISymbolTable table)
returns a string representation of this class with decodec symbols. |
| Methods inherited from class prolog.implementation.Fact |
addAttribute, genXml, getName, getRelation |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public Query(int name)
public Query(IFact f)
public Query(int name,
IRelation r)
| Method Detail |
public java.lang.String toString()
toString in class Factprolog.implementation.Factpublic java.lang.String toString(ISymbolTable table)
toString in class Factprolog.implementation.Facttable - the symboltable used to decode the symbols
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||