org.ow2.orchestra.facade.runtime.impl
Class RuntimeRecordImpl
java.lang.Object
org.ow2.orchestra.facade.runtime.impl.RuntimeRecordImpl
- All Implemented Interfaces:
- Serializable, Record, RuntimeRecord
- Direct Known Subclasses:
- ActivityInstanceImpl
public abstract class RuntimeRecordImpl
- extends Object
- implements RuntimeRecord
- Author:
- Gael Lalire
- See Also:
- Serialized Form
startedDate
protected Date startedDate
endedDate
protected Date endedDate
processUUID
protected ProcessDefinitionUUID processUUID
instanceUUID
protected ProcessInstanceUUID instanceUUID
activityState
protected ActivityState activityState
- The activity state.
RuntimeRecordImpl
protected RuntimeRecordImpl()
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 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 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 Object
getState
public ActivityState getState()
- Specified by:
getState
in interface RuntimeRecord
- Returns:
- the state of activity
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2011 OW2 Consortium. All Rights Reserved.