org.ow2.orchestra.facade.def.impl
Class ProcessDefinitionImpl
java.lang.Object
org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
org.ow2.orchestra.facade.def.impl.ActivityDefinitionImpl
org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
org.ow2.orchestra.facade.def.impl.BpelActivityWithSingleChildDefinitionImpl
org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
org.ow2.orchestra.facade.def.impl.ProcessDefinitionImpl
- All Implemented Interfaces:
- Serializable, ActivityDefinition, BpelActivityDefinition, BpelActivityWithSingleChildDefinition, DefinitionRecord, ProcessDefinition, ScopeActivityDefinition, Record
public class ProcessDefinitionImpl
- extends ScopeActivityDefinitionImpl
- implements ProcessDefinition
- Author:
- Gael Lalire
- See Also:
- Serialized Form
nameSpace
protected String nameSpace
expressionLanguage
protected String expressionLanguage
queryLanguage
protected String queryLanguage
deployedDate
protected Date deployedDate
undeployedDate
protected Date undeployedDate
state
protected ProcessState state
stateUpdates
protected List<ProcessStateUpdate> stateUpdates
resourceNames
protected Collection<String> resourceNames
version
protected int version
extensions
protected List<ExtensionDefinition> extensions
ProcessDefinitionImpl
protected ProcessDefinitionImpl()
ProcessDefinitionImpl
public ProcessDefinitionImpl(ProcessDefinition src)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getUUID
public ProcessDefinitionUUID getUUID()
- Description copied from interface:
ProcessDefinition
- Returns the UUID for the ProcessDefinition.
- Specified by:
getUUID in interface ActivityDefinition- Specified by:
getUUID in interface ProcessDefinition- Overrides:
getUUID in class ActivityDefinitionImpl
- Returns:
- uuid of this activity definition.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getEnclosedActivityUUID
public ActivityDefinitionUUID getEnclosedActivityUUID()
- Specified by:
getEnclosedActivityUUID in interface BpelActivityWithSingleChildDefinition- Overrides:
getEnclosedActivityUUID in class BpelActivityWithSingleChildDefinitionImpl
- Returns:
- the enclosedActivityUUID
setEnclosedActivityUUID
public void setEnclosedActivityUUID(ActivityDefinitionUUID enclosedActivityUUID)
- Parameters:
enclosedActivityUUID - the enclosedActivityUUID to set
getNameSpace
public String getNameSpace()
- Specified by:
getNameSpace in interface ProcessDefinition
- Returns:
- name space of the process
getExpressionLanguage
public String getExpressionLanguage()
- Specified by:
getExpressionLanguage in interface ProcessDefinition
- Returns:
- the URI of expression language
getQueryLanguage
public String getQueryLanguage()
- Specified by:
getQueryLanguage in interface ProcessDefinition
- Returns:
- the URI of query language
getDeployedDate
public Date getDeployedDate()
- Specified by:
getDeployedDate in interface ProcessDefinition
- Returns:
- the date recorded when the definition is deployed
getUndeployedDate
public Date getUndeployedDate()
- Specified by:
getUndeployedDate in interface ProcessDefinition
- Returns:
- the date recorded when the definition is undeployed
getType
public ActivityType getType()
- Description copied from interface:
ActivityDefinition
- Get the type of the activity definition. Types are defined in
ActivityType.class.
- Specified by:
getType in interface ActivityDefinition- Overrides:
getType in class ScopeActivityDefinitionImpl
- Returns:
- the type of the activity (corresponding to ActivityType.class)
getQName
public QName getQName()
- Specified by:
getQName in interface ProcessDefinition
- Returns:
- the qualified name of the process
getState
public ProcessState getState()
- Specified by:
getState in interface ProcessDefinition
- Returns:
- the state of the process
getStateUpdates
public List<ProcessStateUpdate> getStateUpdates()
- Specified by:
getStateUpdates in interface ProcessDefinition
- Returns:
- the list of state changes for this process.
getProcessResourceNames
public Collection<String> getProcessResourceNames()
- Specified by:
getProcessResourceNames in interface ProcessDefinition
- Returns:
- the name of the process resources deployed with the process (BPEL, WSDL, BPMN source files...)
getVersion
public int getVersion()
- Specified by:
getVersion in interface ProcessDefinition
- Returns:
- the process version.
getExtensions
public List<ExtensionDefinition> getExtensions()
- Specified by:
getExtensions in interface ProcessDefinition
- Returns:
- the the list of extensions defined in the process
Copyright © 2012 OW2 Consortium. All Rights Reserved.