[great-users] MetaGME2UMT Interpreter: More than oneAssociatonClass possible?

Florian Kraus florian.kraus at diplomlrt.de
Mon Jun 27 16:56:18 CDT 2011


Hello Kevin,

 

thank you very much for your answer.

 

Thanks to your advice, I managed to attach the paradigm library into my
GReAT transformation file. It works fine for an easy example. 

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)

 

Do you have an idea what to do now? - Or did I miss something?

 

Thank you in advance.

Best regards

 

Florian Kraus

 

 

 

Von: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] Im Auftrag von Kevin
Smyth
Gesendet: Donnerstag, 23. Juni 2011 16:36
An: great-users
Betreff: Re: [great-users] MetaGME2UMT Interpreter: More than
oneAssociatonClass possible?

 

Hi Florian,

 

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.

 

 

Re: UMLModelTransformer different connection types:

PatternComposition and PatternAssociation are the most often-used
connections. Section 5.2 in the GReAT user manual covers Rules.

MatchAnyAssociation is documented in section 5.10 of the GReAT user manual.

TracesTo is typically unused. It creates a link in the generated RTT_...mga
file when the rule fires.

I don't know what IteratorShiftConn does.

 

Kevin

 

From: great-users-bounces at list.isis.vanderbilt.edu
[mailto:great-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Florian
Kraus
Sent: Thursday, June 23, 2011 6:19 AM
To: great-users
Subject: [great-users] MetaGME2UMT Interpreter: More than oneAssociatonClass
possible?

 

Hello

 

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".

Then GME shows the following error message:

"Connection "CO_SubsystemSignal" has more than one AssociationClass"

 

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.

 

Isn't it possible to have more than one AssociationClass?

Or do you know a workaround?

 

 

Besides that I have another question:

Is there any additional information about the "Connection Role Type" in the
GReAT transformation rules?

I can select "TracesTo, PatternComposition, PatternAssociation,
MatchAnyAssociation and IteratorShiftConn" - but I wonder about their
meaning. 

 

 

Thank you in advance.

Best regards

 

Florian Kraus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20110627/ea33a223/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Problem_description.pdf
Type: application/pdf
Size: 61532 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20110627/ea33a223/attachment.pdf 


More information about the great-users mailing list