[great-users] MetaGME2UMT Interpreter: More thanoneAssociatonClass possible?
Kevin Smyth
ksmyth at isis.vanderbilt.edu
Tue Jun 28 10:16:31 CDT 2011
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.
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).
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: Monday, June 27, 2011 4:56 PM
To: great-users
Subject: Re: [great-users] MetaGME2UMT Interpreter: More
thanoneAssociatonClass possible?
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/20110628/08dc6e01/attachment.html
More information about the great-users
mailing list