|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.mediation.Inversion | +--com.oakgrovesystems.reactor.processMediation.ProcessConditionInversion
An inversion of a ProcessCondition
Field Summary | |
protected com.oakgrovesystems.reactor.processMediation.ProcessCondition |
conditionToInvert
|
protected java.util.Map |
objectMap
|
Constructor Summary | |
ProcessConditionInversion(com.oakgrovesystems.reactor.processMediation.ProcessCondition conditionToInvert)
Creates a ProcessConditionInversion that is an Inversion of the specified ProcessCondition |
Method Summary | |
com.oakgrovesystems.reactor.processMediation.ProcessCondition |
copy()
Returns a deep copy |
java.util.Map |
getObjectMap()
returns the Map used for looking up Process objects for condition evaluation |
com.oakgrovesystems.reactor.processMediation.ProcessCondition |
getProcessCondition()
returns the ProcessCondition that this condition inverts |
boolean |
isMadeFalseBy(com.oakgrovesystems.mediation.Change change,
java.lang.Object changee)
returns a boolean indicating whether or not this Condition is true and would be made false by applying the specified Change to the specified Object. |
boolean |
isMadeTrueBy(com.oakgrovesystems.mediation.Change change,
java.lang.Object changee)
returns a boolean indicating whether or not this Condition is false and would be made true by applying the specified Change to the specified Object. |
boolean |
isTrue()
returns a boolean indicating whether this Condition is true or false. |
boolean |
sameAs(java.lang.Object o)
Tests for content equality with another object. |
void |
setObjectMap(java.util.Map objectMap)
sets the Map used for looking up Process objects for condition evaluation |
Methods inherited from class com.oakgrovesystems.mediation.Inversion |
getCondition, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Map objectMap
protected com.oakgrovesystems.reactor.processMediation.ProcessCondition conditionToInvert
Constructor Detail |
public ProcessConditionInversion(com.oakgrovesystems.reactor.processMediation.ProcessCondition conditionToInvert)
conditionToInvert
- the ProcessCondition of which this Conditionis an Inversion.Method Detail |
public com.oakgrovesystems.reactor.processMediation.ProcessCondition getProcessCondition()
public java.util.Map getObjectMap()
getObjectMap
in interface ProcessCondition
public void setObjectMap(java.util.Map objectMap)
setObjectMap
in interface ProcessCondition
objectMap
- the Map used for looking up Process objects for condition evaluationpublic boolean isTrue() throws CanNotEvaluateConditionException
isTrue
in interface Condition
isTrue
in class Inversion
CanNotEvaluateConditionException
- if the Condition can not be evaluatedpublic boolean isMadeTrueBy(com.oakgrovesystems.mediation.Change change, java.lang.Object changee) throws CanNotEvaluateConditionException
isMadeTrueBy
in interface Condition
isMadeTrueBy
in class Inversion
change
- the Change the application of which may make this Condition truechangee
- the object to which the specified Change would be applied to make
this Condition true.
CanNotEvaluateConditionException
- if there is a problem evaluating Condition(s)public boolean isMadeFalseBy(com.oakgrovesystems.mediation.Change change, java.lang.Object changee) throws CanNotEvaluateConditionException
isMadeFalseBy
in interface Condition
isMadeFalseBy
in class Inversion
change
- the Change the application of which may make this Condition falsechangee
- the object to which the specified Change would be applied to make
this Condition false.
CanNotEvaluateConditionException
- if there is a problem evaluating Condition(s)public boolean sameAs(java.lang.Object o)
sameAs
in interface ProcessCondition
o
- the object to compare for equality
public com.oakgrovesystems.reactor.processMediation.ProcessCondition copy()
copy
in interface ProcessCondition
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |