|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Condition is a boolean function of the state of one or more other objects. That is, for a given state of the other objects, the Condition is either true or false. Changes in the states of the other objects may cause the Condition's boolean value to change.
Method Summary | |
boolean |
isMadeFalseBy(com.oakgrovesystems.mediation.Change change,
java.lang.Object changee)
Determines if this Condition would become false if the specified Change were applied to the specified object. |
boolean |
isMadeTrueBy(com.oakgrovesystems.mediation.Change change,
java.lang.Object changee)
Determines if this Condition would become true if the specified Change were applied to the specified object. |
boolean |
isTrue()
Evaluates this Condition |
Method Detail |
public boolean isTrue() throws CanNotEvaluateConditionException
CanNotEvaluateConditionException
- If the Condition can not be evaluated.public boolean isMadeTrueBy(com.oakgrovesystems.mediation.Change change, java.lang.Object changee) throws CanNotEvaluateConditionException
change
- The Change the application of which may make this Condition true.changee
- The Object to which the Change would be applied.
CanNotEvaluateConditionException
- if the Condition can not be evaluated or it can not be determined
how the specified Change would affect the evaluation of this Conditon.public boolean isMadeFalseBy(com.oakgrovesystems.mediation.Change change, java.lang.Object changee) throws CanNotEvaluateConditionException
change
- The Change the application of which may make this Condition false.changee
- The Object to which the Change would be applied.
CanNotEvaluateConditionException
- if the Condition can not be evaluated or it can not be determined
how the specified Change would affect the evaluation of this Conditon.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |