Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: Preserve EEnums literal by UML import
Re: Preserve EEnums literal by UML import [message #627696] Sat, 13 June 2009 22:09
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Timothy,

Comments below.

Timothy Marc wrote:
> Hey all,
>
> is there a way, to annotate an EEnum literal in a UML model?
A UML question....
> I create my Ecore model from an UML model and want the literals be
> different to the literals name.
I'm not sure that UML supports that...
>
>
> For example:
>
> EEnuml Literal
> value := 0
> name: Closing
> luieral: <->
>
> Currently, i change them manually everytime, i reload the UML model,
> on which my Ecore model depends. Is there a way, to specify the
> literal String somewhere in the UML model directly or mark them as
> "preserved" in Ecore?
When it comes to UML issues, it's generally best to ask on the UML
newsgroup, so I've added that to the "to" list of the reply...

One "trick" that I would use would be to export the Ecore model to UML
and see what annotations are on the result. I would expect Ecore -> UML
->Ecore to be a round trip, as is the case for Ecore -> XML Schema -> Ecore.
>
> Thx
> Timothy


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Re: Creating Stereotype extending AssociationEnd
Next Topic:[Announce] MDT UML2 3.0.0RC5 is available
Goto Forum:
  


Current Time: Thu Apr 25 09:47:04 GMT 2024

Powered by FUDForum. Page generated in 0.04143 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top