|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oakgrovesystems.reactor.processMediation.ProcessStatusAddition
Adds a Status to the current statuses attribute of a Process.
Constructor Summary | |
ProcessStatusAddition(com.oakgrovesystems.reactor.ReactorObjectId newStatusId)
Creates a new ProcessStatusAddition that adds the Status specified to a Process's current Statuses |
Method Summary | |
void |
applyTo(java.lang.Object o)
Adds the Status id to the specified Process's list of current statuses |
com.oakgrovesystems.reactor.ReactorObjectId |
getNewStatusId()
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 ProcessStatusAddition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ProcessStatusAddition(com.oakgrovesystems.reactor.ReactorObjectId newStatusId)
newStatusId
- the id of the Status to be added to 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 getNewStatusId()
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 |