1 #ifndef XML_bpmn_tReceiveTask_H
2 #define XML_bpmn_tReceiveTask_H
7 #include "../XMLObject.h"
54 static bool registerClass() {
55 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tReceiveTask"] = &createInstance<tReceiveTask>;
58 inline static bool registered = registerClass();
65 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"implementation", .value =
Value(std::string(
"##WebService"))},
66 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"instantiate", .
value =
Value(std::string(
"false"))},
67 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isForCompensation", .
value =
Value(std::string(
"false"))},
68 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"startQuantity", .
value =
Value(std::string(
"1"))},
69 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"completionQuantity", .
value =
Value(std::string(
"1"))}
73 std::optional< std::reference_wrapper<Attribute> >
instantiate;
74 std::optional< std::reference_wrapper<Attribute> >
messageRef;
A class representing a node in an XML-tree.
const ClassName className
std::optional< std::reference_wrapper< Attribute > > instantiate
Attribute value can be expected to be of type 'bool'.
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::optional< std::reference_wrapper< Attribute > > messageRef
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > implementation
Attribute value can be expected to be of type 'std::string'.
std::optional< std::reference_wrapper< Attribute > > operationRef
Attribute value can be expected to be of type 'std::string'.
tReceiveTask(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
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.
std::string tImplementation