1 #ifndef XML_bpmn_businessRuleTask_H
2 #define XML_bpmn_businessRuleTask_H
7 #include "../XMLObject.h"
48 static bool registerClass() {
49 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:businessRuleTask"] = &createInstance<businessRuleTask>;
52 inline static bool registered = registerClass();
59 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"implementation", .value =
Value(std::string(
"##unspecified"))},
60 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isForCompensation", .
value =
Value(std::string(
"false"))},
61 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"startQuantity", .
value =
Value(std::string(
"1"))},
62 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"completionQuantity", .
value =
Value(std::string(
"1"))}
A class representing a node in an XML-tree.
const ClassName className
businessRuleTask(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
static const Attributes defaults
default attributes to be used if they are not explicitly provided
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.