|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Constraint
A Constraint stores the attributes af a constraint from the XML file. It can have a start
and/or an end constraint. A Constraint is created by the XMLParser
and is given in a
Vector
of constraint to a Situation
. Constraints are then converted to JESS
rules by the JESSCommunicator
.
Constructor Summary | |
Constraint(java.lang.String name,
java.lang.String start,
java.lang.String end)
The constructor in which all attributes of the constraint are set. |
Method Summary | |
java.lang.String |
getEndCondition()
Returns the end condition. |
java.lang.String |
getStartCondition()
Returns the start condition. |
java.lang.String |
getVariableName()
Returns the name of the variable. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Constraint(java.lang.String name, java.lang.String start, java.lang.String end)
Method Detail |
public java.lang.String getVariableName()
public java.lang.String getStartCondition()
public java.lang.String getEndCondition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |