org.ow2.bonita.pvm.model
Interface OpenProcessDefinition

All Superinterfaces:
CompositeElement, ObservableElement, ProcessDefinition, java.io.Serializable
All Known Subinterfaces:
ClientProcessDefinition
All Known Implementing Classes:
PVMProcessDefinitionImpl

public interface OpenProcessDefinition
extends ProcessDefinition, CompositeElement

a graph (or tree) structure that can be executed.

Purpose

ProcessDefinition is a base implementation that can be leveraged to build graph based execution languages. While the ProcessDefinition class is concrete and can be used as-is (e.g. by aggregation), most likely processDefinition languages will inherit from this ProcessDefinition and create more specialized implementations.

The specialized processDefinition language classes can extend this ProcessDefinition with new datastructures relevant for that perticular processDefinition language.

Structure

A processDefinition contains a set of nodes. Nodes can be connected with transitions or nodes can have nested nodes. But the transitions and nested nodes can be combined.

Execution

To create a new execution for a given processDefinition, see #startExecution().

Author:
Tom Baeyens

Method Summary
 Node getInitial()
          the initial node of this process definition
 
Methods inherited from interface org.ow2.bonita.pvm.ProcessDefinition
getDescription, getId, getKey, getName, getPackageName, getVersion
 
Methods inherited from interface org.ow2.bonita.pvm.model.CompositeElement
findNode, getNode, getNodes, getNodesMap, hasNode, hasNodes
 
Methods inherited from interface org.ow2.bonita.pvm.model.ObservableElement
getDbid, getName, getParent, getProcessDefinition, getProperty, getPropertyKeys, hasEvent
 

Method Detail

getInitial

Node getInitial()
the initial node of this process definition



Copyright © 2009 OW2 Consortium. All Rights Reserved.