Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE formengine.io.

Class Definition

Inheritance

↳ object

    Definition

Inherited Members

Equals(object)

Equals(object, object)

GetHashCode()

GetType()

MemberwiseClone()

ReferenceEquals(object, object)

ToString()

Namespace: OptimaJet.Workflow.Core.BPMN

Assembly: OptimaJet.Workflow.Core.dll

Syntax
public class Definition

Constructors

Definition(string)

The constructor creates Definition object and loads BPMN2 scheme

Declaration
public Definition(string bpmn)
Parameters
TypeNameDescription
stringbpmnBPMN2 scheme in XML-format

Definition(ProcessDefinition)

The constructor creates Definition object and loads information from ProcessDefinition object

Declaration
public Definition(ProcessDefinition pd)
Parameters
TypeNameDescription
ProcessDefinitionpdProcessDefinition object for loading

Properties

Name

Declaration
public string Name { get; set; }
Property value
TypeDescription
string

Methods

ConvertToProcessDefinitions()

Gets a list of ProcessDefinition from BPMN format

Declaration
public List<ProcessDefinition> ConvertToProcessDefinitions()
Returns
TypeDescription
List<ProcessDefinition>

ConvertToComplexProcessDefinitions()

Declaration
public ProcessDefinition ConvertToComplexProcessDefinitions()
Returns
TypeDescription
ProcessDefinition

Serialize()

Serialize the object

Declaration
public string Serialize()
Returns
TypeDescription
stringXML

Fields

processList

Declaration
public List<Process> processList
Returns
TypeDescription
List<Process>

collaborationList

Declaration
public List<Collaboration> collaborationList
Returns
TypeDescription
List<Collaboration>

diagram

Declaration
public BPMNDiagram diagram
Returns
TypeDescription
BPMNDiagram

Extension Methods