1 #ifndef XML_bpmn_tCollaboration_H
2 #define XML_bpmn_tCollaboration_H
7 #include "../XMLObject.h"
27 class tConversationNode;
28 class tConversationAssociation;
29 class tParticipantAssociation;
30 class tMessageFlowAssociation;
31 class tCorrelationKey;
32 class tConversationLink;
62 static bool registerClass() {
63 XMLObject::factory[
"http://www.omg.org/spec/BPMN/20100524/MODEL:tCollaboration"] = &createInstance<tCollaboration>;
66 inline static bool registered = registerClass();
73 { .xmlns =
"http://www.omg.org/spec/BPMN/20100524/MODEL", .prefix =
"" , .name =
"isClosed", .value =
Value(std::string(
"false"))}
76 std::vector< std::reference_wrapper<tParticipant> >
participant;
77 std::vector< std::reference_wrapper<tMessageFlow> >
messageFlow;
78 std::vector< std::reference_wrapper<tArtifact> >
artifact;
86 std::optional< std::reference_wrapper<Attribute> >
name;
87 std::optional< std::reference_wrapper<Attribute> >
isClosed;
A class representing a node in an XML-tree.
const ClassName className
std::vector< std::reference_wrapper< tParticipantAssociation > > participantAssociation
std::vector< std::reference_wrapper< tConversationLink > > conversationLink
std::vector< std::reference_wrapper< XMLObject > > choreographyRef
static const Attributes defaults
default attributes to be used if they are not explicitly provided
std::vector< std::reference_wrapper< tArtifact > > artifact
std::vector< std::reference_wrapper< tParticipant > > participant
std::optional< std::reference_wrapper< Attribute > > name
Attribute value can be expected to be of type 'std::string'.
std::vector< std::reference_wrapper< tConversationAssociation > > conversationAssociation
std::vector< std::reference_wrapper< tMessageFlowAssociation > > messageFlowAssociation
std::vector< std::reference_wrapper< tMessageFlow > > messageFlow
std::vector< std::reference_wrapper< tCorrelationKey > > correlationKey
std::optional< std::reference_wrapper< Attribute > > isClosed
Attribute value can be expected to be of type 'bool'.
tCollaboration(const Namespace &xmlns, const ClassName &className, const xercesc::DOMElement *element, const Attributes &defaultAttributes)
std::vector< std::reference_wrapper< tConversationNode > > conversationNode
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.