|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.processMediation.ProcessStatusRemoval
Removes a Status from the current statuses attribute of a Process.
Constructor Summary | |
ProcessStatusRemoval(com.oakgrovesystems.reactor.ReactorObjectId oldStatusId)
Creates a new ProcessStatusAddition that removes the Status specified from a Process's current Statuses |
Method Summary | |
void |
applyTo(java.lang.Object o)
Removes the Status id from the specified Process's list of current statuses |
com.oakgrovesystems.reactor.ReactorObjectId |
getOldStatusId()
Returns the id of the Status to be added to the Process's current statuses |
boolean |
sameAs(java.lang.Object o)
Compares two ProcessChanges for content equality. |
java.lang.String |
toString()
Returns a String representation of this ProcessStatusRemoval |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProcessStatusRemoval(com.oakgrovesystems.reactor.ReactorObjectId oldStatusId)
oldStatusId
- the id of the Status to be removed from the Process's current statusesMethod Detail |
public void applyTo(java.lang.Object o) throws ChangeNotApplicableException
applyTo
in interface Change
o
- the Process to which the change should be applied
ChangeNotApplicableException
- if the change can not be appliedpublic final com.oakgrovesystems.reactor.ReactorObjectId getOldStatusId()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean sameAs(java.lang.Object o)
sameAs
in interface ProcessChange
o
- the object to compare for equality
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |