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:
java.io.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  java.util.Date deployedDate
           
protected  java.lang.String expressionLanguage
           
protected  java.util.List<ExtensionDefinition> extensions
           
protected  java.lang.String nameSpace
           
protected  java.lang.String queryLanguage
           
protected  java.util.Collection<java.lang.String> resourceNames
           
protected  ProcessState state
           
protected  java.util.List<ProcessStateUpdate> stateUpdates
           
protected  java.util.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(java.lang.Object obj)
           
 java.util.Date getDeployedDate()
           
 ActivityDefinitionUUID getEnclosedActivityUUID()
           
 java.lang.String getExpressionLanguage()
           
 java.util.List<ExtensionDefinition> getExtensions()
           
 java.lang.String getNameSpace()
           
 java.util.Collection<java.lang.String> getProcessResourceNames()
           
 javax.xml.namespace.QName getQName()
           
 java.lang.String getQueryLanguage()
           
 ProcessState getState()
           
 java.util.List<ProcessStateUpdate> getStateUpdates()
           
 ActivityType getType()
          Get the type of the activity definition.
 java.util.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 java.lang.String nameSpace

expressionLanguage

protected java.lang.String expressionLanguage

queryLanguage

protected java.lang.String queryLanguage

deployedDate

protected java.util.Date deployedDate

undeployedDate

protected java.util.Date undeployedDate

state

protected ProcessState state

stateUpdates

protected java.util.List<ProcessStateUpdate> stateUpdates

resourceNames

protected java.util.Collection<java.lang.String> resourceNames

version

protected int version

extensions

protected java.util.List<ExtensionDefinition> extensions
Constructor Detail

ProcessDefinitionImpl

protected ProcessDefinitionImpl()

ProcessDefinitionImpl

public ProcessDefinitionImpl(ProcessDefinition src)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.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 java.lang.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 java.lang.String getNameSpace()
Specified by:
getNameSpace in interface ProcessDefinition
Returns:
name space of the process

getExpressionLanguage

public java.lang.String getExpressionLanguage()
Specified by:
getExpressionLanguage in interface ProcessDefinition
Returns:
the URI of expression language

getQueryLanguage

public java.lang.String getQueryLanguage()
Specified by:
getQueryLanguage in interface ProcessDefinition
Returns:
the URI of query language

getDeployedDate

public java.util.Date getDeployedDate()
Specified by:
getDeployedDate in interface ProcessDefinition
Returns:
the date recorded when the definition is deployed

getUndeployedDate

public java.util.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 javax.xml.namespace.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 java.util.List<ProcessStateUpdate> getStateUpdates()
Specified by:
getStateUpdates in interface ProcessDefinition
Returns:
the list of state changes for this process.

getProcessResourceNames

public java.util.Collection<java.lang.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 java.util.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.