Skip to main content



      Home
Home » Modeling » UML2 » How to get default value of Enumeration Literal in UML?
icon5.gif  How to get default value of Enumeration Literal in UML? [message #1053536] Mon, 06 May 2013 08:38 Go to next message
Eclipse UserFriend
Hello there,
I am currently doing some model transformations.
In my model transformation I generated Enumaration Class and their attributes: here it's an EnumerationLitteral.
The question now is that I want to get the default value of EnumerationLitteral type.
Re: How to get default value of Enumeration Literal in UML? [message #1053591 is a reply to message #1053536] Mon, 06 May 2013 12:03 Go to previous message
Eclipse UserFriend
There is no such thing. You can set the default value locally for any attribute or parameter or variable that is typed by the enumeration. If you want a global default value, use convention, for instance, the first value is the default value.

Rafael
http://abstratt.com/blog
Previous Topic:How to identify Exclusive and combined Enumeration in UML2.
Next Topic:Migration from UML2 3.2.0 to 4.0 with Profiles and Stereotypes
Goto Forum:
  


Current Time: Wed Jul 02 10:21:06 EDT 2025

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

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

Back to the top