|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.spi.model.JoinInstance org.obe.spi.model.OrJoinInstance
Implements the logic and state of an XOR-JOIN instance.
Field Summary |
Fields inherited from class org.obe.spi.model.JoinInstance |
_states, _transitions |
Constructor Summary | |
OrJoinInstance(java.lang.String[] transitions)
Constructs a new XOR-join instance. |
Method Summary | |
boolean |
shouldFire(java.lang.String transitionId)
Handles the activation of an afferent transition. |
Methods inherited from class org.obe.spi.model.JoinInstance |
didFire, equals, fire, getFiredCount, hasFired, hasFired, hashCode, isModified, reset, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public OrJoinInstance(java.lang.String[] transitions)
transitions
- IDs of afferent transitions.Method Detail |
public boolean shouldFire(java.lang.String transitionId)
JoinInstance.reset()
.
shouldFire
in class JoinInstance
transitionId
- The ID of the transition that fired.
true
if the join fired.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |