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

java.lang.Object
  extended by org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
      extended by org.ow2.orchestra.facade.def.impl.ActivityDefinitionImpl
          extended by org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
              extended by org.ow2.orchestra.facade.def.impl.BpelActivityWithSingleChildDefinitionImpl
                  extended by org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
                      extended by 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

Field Summary
protected  Date deployedDate
           
protected  String expressionLanguage
           
protected  List<ExtensionDefinition> extensions
           
protected  String nameSpace
           
protected  String queryLanguage
           
protected  Collection<String> resourceNames
           
protected  ProcessState state
           
protected  List<ProcessStateUpdate> stateUpdates
           
protected  Date undeployedDate
           
protected  int version
           
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
compensationHandlerUUID, correlationSets, exitOnStandardFault, faultHandlerUUIDs, messageExchanges, onAlarms, onEvents, partnerLinks, terminationHandlerUUID, variables
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.BpelActivityWithSingleChildDefinitionImpl
enclosedActivityUUID
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
sourceList, suppressJoinFailure, targetList, targetsJoinConditionBooleanExpression, targetsJoinConditionExpressionLanguage
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.ActivityDefinitionImpl
documentation, uuid
 
Fields inherited from class org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
name, processDefinitionUUID
 
Constructor Summary
protected ProcessDefinitionImpl()
           
  ProcessDefinitionImpl(ProcessDefinition src)
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getDeployedDate()
           
 ActivityDefinitionUUID getEnclosedActivityUUID()
           
 String getExpressionLanguage()
           
 List<ExtensionDefinition> getExtensions()
           
 String getNameSpace()
           
 Collection<String> getProcessResourceNames()
           
 QName getQName()
           
 String getQueryLanguage()
           
 ProcessState getState()
           
 List<ProcessStateUpdate> getStateUpdates()
           
 ActivityType getType()
          Get the type of the activity definition.
 Date getUndeployedDate()
           
 ProcessDefinitionUUID getUUID()
          Returns the UUID for the ProcessDefinition.
 int getVersion()
           
 int hashCode()
           
 void setEnclosedActivityUUID(ActivityDefinitionUUID enclosedActivityUUID)
           
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.ScopeActivityDefinitionImpl
getCompensationHandlerDefinitionUUID, getCorrelationSets, getExitOnStandardFault, getFaultHandlerUUIDs, getMessageExchanges, getOnAlarmEventHandlers, getOnEventEventHandlers, getPartnerLinks, getTerminationHandlerDefinitionUUID, getVariables
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.BpelActivityDefinitionImpl
getSourceList, getTargetList, getTargetsJoinConditionBooleanExpression, getTargetsJoinConditionExpressionLanguage, isSuppressJoinFailure
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.ActivityDefinitionImpl
getDocumentation
 
Methods inherited from class org.ow2.orchestra.facade.def.impl.DefinitionRecordImpl
getName, getProcessDefinitionUUID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.orchestra.facade.def.ScopeActivityDefinition
getCompensationHandlerDefinitionUUID, getCorrelationSets, getExitOnStandardFault, getFaultHandlerUUIDs, getMessageExchanges, getOnAlarmEventHandlers, getOnEventEventHandlers, getPartnerLinks, getTerminationHandlerDefinitionUUID, getVariables
 
Methods inherited from interface org.ow2.orchestra.facade.def.BpelActivityDefinition
getSourceList, getTargetList, getTargetsJoinConditionBooleanExpression, getTargetsJoinConditionExpressionLanguage, isSuppressJoinFailure
 
Methods inherited from interface org.ow2.orchestra.facade.def.ActivityDefinition
getDocumentation
 
Methods inherited from interface org.ow2.orchestra.facade.def.DefinitionRecord
getName, getProcessDefinitionUUID
 

Field Detail

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
Constructor Detail

ProcessDefinitionImpl

protected ProcessDefinitionImpl()

ProcessDefinitionImpl

public ProcessDefinitionImpl(ProcessDefinition src)
Method Detail

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 © 2011 OW2 Consortium. All Rights Reserved.