1 #ifndef XML_bpmn_tProcess_H
2 #define XML_bpmn_tProcess_H
7 #include "../XMLObject.h"
31 class tCorrelationSubscription;
67 static bool registerClass() {
68 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tProcess"] = &createInstance<tProcess>;
71 inline static bool registered = registerClass();
80 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"processType", .value =
Value(std::string(
"None"))},
81 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isClosed", .
value =
Value(std::string(
"false"))}
84 std::optional< std::reference_wrapper<tAuditing> >
auditing;
85 std::optional< std::reference_wrapper<tMonitoring> >
monitoring;
86 std::vector< std::reference_wrapper<tProperty> >
property;
87 std::vector< std::reference_wrapper<tLaneSet> >
laneSet;
88 std::vector< std::reference_wrapper<tFlowElement> >
flowElement;
89 std::vector< std::reference_wrapper<tArtifact> >
artifact;
92 std::vector< std::reference_wrapper<XMLObject> >
supports;
93 std::optional< std::reference_wrapper<Attribute> >
processType;
94 std::optional< std::reference_wrapper<Attribute> >
isClosed;
A class representing a node in an XML-tree.
const ClassName className
std::vector< std::reference_wrapper< tProperty > > property
std::optional< std::reference_wrapper< Attribute > > processType
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > definitionalCollaborationRef
Attribute value can be expected to be of type 'std::string'.
tProcess(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::vector< std::reference_wrapper< tArtifact > > artifact
std::vector< std::reference_wrapper< tFlowElement > > flowElement
std::vector< std::reference_wrapper< XMLObject > > supports
std::vector< std::reference_wrapper< tResourceRole > > resourceRole
std::vector< std::reference_wrapper< tCorrelationSubscription > > correlationSubscription
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > isExecutable
Attribute value can be expected to be of type 'bool'.
std::optional< std::reference_wrapper< tMonitoring > > monitoring
std::optional< std::reference_wrapper< Attribute > > isClosed
Attribute value can be expected to be of type 'bool'.
std::vector< std::reference_wrapper< tLaneSet > > laneSet
std::optional< std::reference_wrapper< tAuditing > > auditing
The XML::bpmn namespace contains classes from the following XML-schema(s): xsd/DC....
std::vector< Attribute > Attributes
XMLObject * createInstance(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element)
Template function used to store in factory.
A struct representing the value of an XML-node attribute.