|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.spi.model.JoinInstance
Stores the persistent state of an activity instance's join.
Field Summary | |
protected boolean[] |
_states
|
protected java.lang.String[] |
_transitions
|
Constructor Summary | |
protected |
JoinInstance(java.lang.String[] transitions)
|
Method Summary | |
protected boolean |
didFire(int index)
Sets the fired state for the specified transition. |
boolean |
equals(java.lang.Object obj)
|
protected void |
fire()
Informs the join that it has fired. |
int |
getFiredCount()
Returns the number of times the join has fired since the workflow started. |
boolean |
hasFired()
Returns whether the join has fired. |
protected boolean |
hasFired(int index)
|
int |
hashCode()
|
boolean |
isModified()
Returns whether the join has been modified since it was last persisted. |
void |
reset()
Resets the join to its initial state. |
abstract boolean |
shouldFire(java.lang.String transitionId)
Handles the activation of an afferent transition. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final java.lang.String[] _transitions
protected final boolean[] _states
Constructor Detail |
protected JoinInstance(java.lang.String[] transitions)
Method Detail |
public abstract boolean shouldFire(java.lang.String transitionId)
transitionId
- The ID of the transition that fired.
true
if the join fired.protected final void fire()
fired count
.
public final boolean hasFired()
true
if the join has fired.protected final boolean hasFired(int index)
protected final boolean didFire(int index)
index
- Index to set.
public final int getFiredCount()
public final boolean isModified()
true
if the join has been modified.public final void reset()
'fired
count'
is unaffected by the reset operation.
public final boolean equals(java.lang.Object obj)
public final int hashCode()
public final java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |