org.ow2.bonita.definition
Class XpdlProcess

java.lang.Object
  extended by org.jbpm.pvm.impl.ProcessElementImpl
      extended by org.jbpm.pvm.impl.ObservableElementImpl
          extended by org.jbpm.pvm.impl.CompositeElementImpl
              extended by org.jbpm.pvm.impl.ProcessDefinitionImpl
                  extended by org.ow2.bonita.definition.XpdlProcess
All Implemented Interfaces:
java.io.Serializable, org.jbpm.pvm.CompositeElement, org.jbpm.pvm.ObservableElement, org.jbpm.pvm.ProcessDefinition, org.jbpm.pvm.ProcessElement

public class XpdlProcess
extends org.jbpm.pvm.impl.ProcessDefinitionImpl

Author:
Marc Blachon, Guillaume Porcher, Charles Souillard, Miguel Valdes, Pierre Vigneras
See Also:
Serialized Form

Field Summary
protected  org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID
           
protected  java.util.List<ProcessParameter> parameters
           
protected  org.ow2.bonita.facade.uuid.ProcessDefinitionUUID processUUID
           
 
Fields inherited from class org.jbpm.pvm.impl.ProcessDefinitionImpl
deploymentTime, initial, packageName, version
 
Fields inherited from class org.jbpm.pvm.impl.CompositeElementImpl
hasVariableDefinitions, nodes, nodesMap, variableDefinitions
 
Fields inherited from class org.jbpm.pvm.impl.ObservableElementImpl
description, events, name
 
Fields inherited from class org.jbpm.pvm.impl.ProcessElementImpl
dbid, dbversion, exceptionHandlers, processDefinition, properties
 
Fields inherited from interface org.jbpm.pvm.ProcessDefinition
EVENT_PROCESS_END, EVENT_PROCESS_START
 
Constructor Summary
protected XpdlProcess()
           
  XpdlProcess(org.ow2.bonita.facade.uuid.ProcessDefinitionUUID processUUID, org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID, java.util.List<ProcessParameter> parameters)
           
 
Method Summary
 java.lang.String getName()
           
 org.ow2.bonita.facade.uuid.PackageDefinitionUUID getPackageDefinitionUUID()
           
 java.util.List<ProcessParameter> getParameters()
           
 org.ow2.bonita.facade.uuid.ProcessDefinitionUUID getProcessDefinitionUUID()
           
protected  org.jbpm.pvm.impl.ExecutionImpl newProcessInstance()
           
 void setVariableDefinitions(java.util.List<org.jbpm.pvm.impl.VariableDefinitionImpl> variableDefinitions)
           
 
Methods inherited from class org.jbpm.pvm.impl.ProcessDefinitionImpl
addAttachment, addAttachment, getAttachmentBytes, getAttachmentInputStream, getDeploymentTime, getInitial, getPackageName, getVersion, initializeVariables, setDeploymentTime, setInitial, setPackageName, setVersion, startExecution, startExecution, startExecution, startExecution, toString
 
Methods inherited from class org.jbpm.pvm.impl.CompositeElementImpl
addNode, createNode, createNode, findNode, getNode, getNodes, getNodesMap, getVariableDefinitions, hasNode, hasNodes, removeNode
 
Methods inherited from class org.jbpm.pvm.impl.ObservableElementImpl
addEvent, createEvent, getDescription, getEvent, getEvents, getParent, hasEvent, setDescription, setEvents, setName
 
Methods inherited from class org.jbpm.pvm.impl.ProcessElementImpl
addExceptionHandler, addProperty, createExceptionHandler, getDbid, getExceptionHandlers, getProcessDefinition, getProperties, getProperty, getPropertyKeys, setExceptionHandlers, setProcessDefinition, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.pvm.ProcessDefinition
getVariableDefinitions
 
Methods inherited from interface org.jbpm.pvm.CompositeElement
findNode, getNode, getNodes, getNodesMap, hasNode, hasNodes
 
Methods inherited from interface org.jbpm.pvm.ObservableElement
getDescription, getEvent, getEvents, getParent, hasEvent
 
Methods inherited from interface org.jbpm.pvm.ProcessElement
getDbid, getExceptionHandlers, getProcessDefinition, getProperty, getPropertyKeys
 

Field Detail

processUUID

protected org.ow2.bonita.facade.uuid.ProcessDefinitionUUID processUUID

packageUUID

protected org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID

parameters

protected java.util.List<ProcessParameter> parameters
Constructor Detail

XpdlProcess

protected XpdlProcess()

XpdlProcess

public XpdlProcess(org.ow2.bonita.facade.uuid.ProcessDefinitionUUID processUUID,
                   org.ow2.bonita.facade.uuid.PackageDefinitionUUID packageUUID,
                   java.util.List<ProcessParameter> parameters)
Method Detail

newProcessInstance

protected org.jbpm.pvm.impl.ExecutionImpl newProcessInstance()
Overrides:
newProcessInstance in class org.jbpm.pvm.impl.ProcessDefinitionImpl

getProcessDefinitionUUID

public org.ow2.bonita.facade.uuid.ProcessDefinitionUUID getProcessDefinitionUUID()

setVariableDefinitions

public void setVariableDefinitions(java.util.List<org.jbpm.pvm.impl.VariableDefinitionImpl> variableDefinitions)
Overrides:
setVariableDefinitions in class org.jbpm.pvm.impl.CompositeElementImpl

getParameters

public java.util.List<ProcessParameter> getParameters()

getPackageDefinitionUUID

public org.ow2.bonita.facade.uuid.PackageDefinitionUUID getPackageDefinitionUUID()

getName

public java.lang.String getName()
Specified by:
getName in interface org.jbpm.pvm.ObservableElement
Overrides:
getName in class org.jbpm.pvm.impl.ObservableElementImpl