|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--prolog.implementation.Fact
|
+--prolog.implementation.AbstractStatement
|
+--prolog.implementation.NodeStatement
|
+--prolog.implementation.AndStatement
|
+--prolog.demonstration.DemoAndStatement
| Inner classes inherited from class prolog.implementation.AndStatement |
AndStatement.CacheMap |
| Field Summary | |
protected Node |
thisNode
the parent of this node in animation tree |
protected Tree |
tree
the animation tree |
| Fields inherited from class prolog.implementation.NodeStatement |
childs |
| Fields inherited from class prolog.implementation.Fact |
name, relation |
| Constructor Summary | |
DemoAndStatement(Tree tree,
IFact f)
constructor 2 |
|
DemoAndStatement(Tree tree,
int name)
constructor 1 |
|
| Method Summary | |
Node |
getNode()
|
IFactList |
query(IFact f,
IFactDb l,
IStatementMap constraints)
queries the child nodes and calls the recursive findMatching method to merge all results. |
void |
resetNode()
clears the cached node |
java.lang.String |
toString()
|
| Methods inherited from class prolog.implementation.AndStatement |
addMatching, findMatching, toString |
| Methods inherited from class prolog.implementation.NodeStatement |
addStatement, genXml |
| Methods inherited from class prolog.implementation.AbstractStatement |
generateFact, generateRelation |
| Methods inherited from class prolog.implementation.Fact |
addAttribute, getName, getRelation |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface prolog.model.IFact |
getName, getRelation |
| Field Detail |
protected Tree tree
protected Node thisNode
| Constructor Detail |
public DemoAndStatement(Tree tree,
int name)
public DemoAndStatement(Tree tree,
IFact f)
| Method Detail |
public Node getNode()
getNode in interface IDemoStatementpublic void resetNode()
resetNode in interface IDemoStatementpublic java.lang.String toString()
toString in class AndStatement
public IFactList query(IFact f,
IFactDb l,
IStatementMap constraints)
throws ParameterMatchingError
query in class AndStatementf - - the target formatl - - the fact databaseconstraints - - the statements to resolve when not found in fdbParameterMatchingError -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||