|
||||||||||
| 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.ConstraintStatement
|
+--prolog.demonstration.DemoConstraintStatement
| 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.ConstraintStatement |
expression |
| Fields inherited from class prolog.implementation.Fact |
name, relation |
| Constructor Summary | |
DemoConstraintStatement(Tree tree,
int name)
constructor |
|
DemoConstraintStatement(Tree tree,
int name,
IRelation r)
constructor 2 |
|
| Method Summary | |
Node |
getNode()
|
IFactList |
query(IFact f,
IFactDb l,
IStatementMap constraints)
querries the most top expression statement |
void |
resetNode()
clears the cached node |
java.lang.String |
toString()
|
| Methods inherited from class prolog.implementation.ConstraintStatement |
genXml, setExpression, toString |
| 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 DemoConstraintStatement(Tree tree,
int name)
public DemoConstraintStatement(Tree tree,
int name,
IRelation r)
| Method Detail |
public IFactList query(IFact f,
IFactDb l,
IStatementMap constraints)
throws ParameterMatchingError
query in class ConstraintStatementf - - the fact to search forl - - the fact databaseconstraints - - the statements to resolve unfound factsParameterMatchingError - public Node getNode()
getNode in interface IDemoStatementpublic void resetNode()
resetNode in interface IDemoStatementpublic java.lang.String toString()
toString in class ConstraintStatementprolog.implementation.ConstraintStatement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||