org.ow2.orchestra.facade.runtime.impl
Class RuntimeRecordImpl
java.lang.Object
org.ow2.orchestra.facade.runtime.impl.RuntimeRecordImpl
- All Implemented Interfaces:
- java.io.Serializable, Record, RuntimeRecord
- Direct Known Subclasses:
- ActivityInstanceImpl
public abstract class RuntimeRecordImpl
- extends java.lang.Object
- implements RuntimeRecord
- Author:
- Gael Lalire
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
startedDate
protected java.util.Date startedDate
endedDate
protected java.util.Date endedDate
processUUID
protected ProcessDefinitionUUID processUUID
instanceUUID
protected ProcessInstanceUUID instanceUUID
activityState
protected ActivityState activityState
- The activity state.
RuntimeRecordImpl
protected RuntimeRecordImpl(RuntimeRecord src)
getProcessDefinitionUUID
public ProcessDefinitionUUID getProcessDefinitionUUID()
- Specified by:
getProcessDefinitionUUID
in interface RuntimeRecord
- Returns:
- the process definition uuid
getProcessInstanceUUID
public ProcessInstanceUUID getProcessInstanceUUID()
- Description copied from interface:
RuntimeRecord
- Returns the instance processDefinitionUUID (generated at the creation of the instance).
- Specified by:
getProcessInstanceUUID
in interface RuntimeRecord
- Returns:
- The instance processDefinitionUUID.
getEndedDate
public java.util.Date getEndedDate()
- Specified by:
getEndedDate
in interface RuntimeRecord
- Returns:
- the date recorded when the runtime is finished or
null if runtime is not finished.
getStartedDate
public java.util.Date getStartedDate()
- Specified by:
getStartedDate
in interface RuntimeRecord
- Returns:
- the date recorded.
end
public void end(ActivityState finishState)
- Call this method when the runtime is ended.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getState
public ActivityState getState()
- Specified by:
getState
in interface RuntimeRecord
- Returns:
- the state of activity
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2009 OW2 Consortium. All Rights Reserved.