MATHVisualSimulator
A BPMN2 simulator for MATH
Public Types | Public Member Functions | Public Attributes | Properties
Simulator.BPFlow Class Reference

Inherits Simulator.BPNode.

List of all members.

Public Types

enum  flowTypeEnum { UNKNOWN = 0, SEQUENCE = 1, MESSAGE = 2 }

Public Member Functions

 BPFlow (Simulator sim, XmlNode x)
override void parseSimulationParameters (XmlNode x)
 Parse simulation parameters for this node.
override XmlElement getSimulationXml (XmlDocument doc)
 Create a simulation extension node from this BPNode.
override void parse (XmlNode x)
 Parse the main BPMN XML parameters into this node.
override XmlElement getSemanticXml (XmlDocument doc)
 Create a BPMN semantic node from this BPNode.
override bool validate ()
 Check this node to see whether it makes sense semantically.
override void finishParsing ()
 Finish up this node, after all the nodes have been created.
override void exit (Runner rr)
 Exit a token from this node.
override void enter (Runner rr)
 Enter a token into this node.
flowTypeEnum getFlowType ()

Public Attributes

string head = null
string tail = null
BPNode headNode = null
BPNode tailNode = null
string messageID
string secondaryName = ""

Properties

double prob [get, set]
flowTypeEnum type [get, set]
new string name [get, set]

Member Function Documentation

override void Simulator.BPFlow.enter ( Runner  rr) [virtual]

Enter a token into this node.

Parameters:
rrThe token

Reimplemented from Simulator.BPNode.

override void Simulator.BPFlow.exit ( Runner  rr) [virtual]

Exit a token from this node.

Parameters:
rrThe token

Reimplemented from Simulator.BPNode.

override void Simulator.BPFlow.finishParsing ( ) [virtual]

Finish up this node, after all the nodes have been created.

Reimplemented from Simulator.BPNode.

override XmlElement Simulator.BPFlow.getSemanticXml ( XmlDocument  doc) [virtual]

Create a BPMN semantic node from this BPNode.

Parameters:
docAn XML Document object that will own the new BPMN node
Returns:
The created XML node

Reimplemented from Simulator.BPNode.

override XmlElement Simulator.BPFlow.getSimulationXml ( XmlDocument  doc) [virtual]

Create a simulation extension node from this BPNode.

Parameters:
docAn XML Document object that will own the new simulation node
Returns:
The created XML node

Reimplemented from Simulator.BPNode.

override void Simulator.BPFlow.parse ( XmlNode  x) [virtual]

Parse the main BPMN XML parameters into this node.

Parameters:
xThe BPMN XML node, from which parameters are to be taken.

Reimplemented from Simulator.BPNode.

override void Simulator.BPFlow.parseSimulationParameters ( XmlNode  x) [virtual]

Parse simulation parameters for this node.

Parameters:
xThe parameter to parse

Reimplemented from Simulator.BPNode.

override bool Simulator.BPFlow.validate ( ) [virtual]

Check this node to see whether it makes sense semantically.

Returns:

Reimplemented from Simulator.BPNode.


The documentation for this class was generated from the following file: