<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I don’t think this second model is a valid MetaGME model. An FCO may be the source or destination of a connection exactly once.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Perhaps adding an abstract base class would fix your problem? Or you can set the Rolenames on the SourceToConnector and ConnectorToDestination to blank for a bidirectional connection (this is what I would do for your first example model).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kevin<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> great-users-bounces@list.isis.vanderbilt.edu [mailto:great-users-bounces@list.isis.vanderbilt.edu] <b>On Behalf Of </b>Florian Kraus<br><b>Sent:</b> Monday, June 27, 2011 4:56 PM<br><b>To:</b> great-users<br><b>Subject:</b> Re: [great-users] MetaGME2UMT Interpreter: More thanoneAssociatonClass possible?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hello Kevin,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>thank you very much for your answer.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks to your advice, I managed to attach the paradigm library into my GReAT transformation file. It works fine for an easy example. <o:p></o:p></p><p class=MsoNormal>Unfortunately my paradigm contains some objects that have several destinations which belong to the same connection. So the Master Interpreter fails and reports “duplicate association role name”. (Please find some details as attachment)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Do you have an idea what to do now? – Or did I miss something?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you in advance.<o:p></o:p></p><p class=MsoNormal>Best regards<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Florian Kraus<o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> great-users-bounces@list.isis.vanderbilt.edu [mailto:great-users-bounces@list.isis.vanderbilt.edu] <b>Im Auftrag von </b>Kevin Smyth<br><b>Gesendet:</b> Donnerstag, 23. Juni 2011 16:36<br><b>An:</b> great-users<br><b>Betreff:</b> Re: [great-users] MetaGME2UMT Interpreter: More than oneAssociatonClass possible?<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal>Hi Florian,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The “Connection X has more than one AssociationClass” limitation has been removed, but unfortunately is not in a GReAT release yet. The fix is in the latest Udm release: you should be able to use the MetaGME2Uml (“Converts MetaGME model to equivalent Uml class diagram”) interpreter from the latest Udm release (r3.2.8), then either copy-paste or Attach Library the generated _uml.mga to your UMLModelTransformer/GReAT model. GReAT’s LibraryUpdate can then move the references from your old Uml diagram to the new Uml diagram.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Re: UMLModelTransformer different connection types:<o:p></o:p></p><p class=MsoNormal>PatternComposition and PatternAssociation are the most often-used connections. Section 5.2 in the GReAT user manual covers Rules.<o:p></o:p></p><p class=MsoNormal>MatchAnyAssociation is documented in section 5.10 of the GReAT user manual.<o:p></o:p></p><p class=MsoNormal>TracesTo is typically unused. It creates a link in the generated RTT_...mga file when the rule fires.<o:p></o:p></p><p class=MsoNormal>I don’t know what IteratorShiftConn does.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kevin<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> great-users-bounces@list.isis.vanderbilt.edu [mailto:great-users-bounces@list.isis.vanderbilt.edu] <b>On Behalf Of </b>Florian Kraus<br><b>Sent:</b> Thursday, June 23, 2011 6:19 AM<br><b>To:</b> great-users<br><b>Subject:</b> [great-users] MetaGME2UMT Interpreter: More than oneAssociatonClass possible?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=DE>Hello<o:p></o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal>I’m trying to insert my paradigm into a GReAT transformation file. I’m using the interpreter that sais “Converts GME metamodel to UML class diagram in a given UMT paradigm”.<o:p></o:p></p><p class=MsoNormal>Then GME shows the following error message:<o:p></o:p></p><p class=MsoNormal>“Connection “CO_SubsystemSignal” has more than one AssociationClass”<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In fact there are several Connections that have more than one AssociationClass. The input models are already finished and thus it’s hard to change my paradigm afterwards.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Isn’t it possible to have more than one AssociationClass?<o:p></o:p></p><p class=MsoNormal>Or do you know a workaround?<o:p></o:p></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal><span lang=DE><o:p> </o:p></span></p><p class=MsoNormal>Besides that I have another question:<o:p></o:p></p><p class=MsoNormal>Is there any additional information about the “Connection Role Type” in the GReAT transformation rules?<o:p></o:p></p><p class=MsoNormal>I can select “TracesTo, PatternComposition, PatternAssociation, MatchAnyAssociation and IteratorShiftConn” – but I wonder about their meaning. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thank you in advance.<o:p></o:p></p><p class=MsoNormal>Best regards<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Florian Kraus<o:p></o:p></p></div></body></html>