org.ow2.orchestra.facade.def.impl
Class ProcessStateUpdateImpl

java.lang.Object
  extended by org.ow2.orchestra.facade.def.impl.ProcessStateUpdateImpl
All Implemented Interfaces:
Serializable, CopyAble<ProcessStateUpdate>, ProcessStateUpdate

public class ProcessStateUpdateImpl
extends Object
implements ProcessStateUpdate

Author:
Guillaume Porcher
See Also:
Serialized Form

Field Summary
protected  Date date
           
protected  ProcessState state
           
 
Constructor Summary
protected ProcessStateUpdateImpl()
           
  ProcessStateUpdateImpl(Date date, ProcessState state)
           
  ProcessStateUpdateImpl(ProcessStateUpdate src)
           
 
Method Summary
 ProcessStateUpdate copy()
           
 Date getDate()
           
 ProcessState getState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

protected Date date

state

protected ProcessState state
Constructor Detail

ProcessStateUpdateImpl

protected ProcessStateUpdateImpl()

ProcessStateUpdateImpl

public ProcessStateUpdateImpl(Date date,
                              ProcessState state)

ProcessStateUpdateImpl

public ProcessStateUpdateImpl(ProcessStateUpdate src)
Method Detail

copy

public ProcessStateUpdate copy()
Specified by:
copy in interface CopyAble<ProcessStateUpdate>

getDate

public Date getDate()
Specified by:
getDate in interface ProcessStateUpdate
Returns:
the date when the state change.

getState

public ProcessState getState()
Specified by:
getState in interface ProcessStateUpdate
Returns:
the new state of the process.


Copyright © 2011 OW2 Consortium. All Rights Reserved.