Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:38 Go to next message
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
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 16:03 Go to previous message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 161
Registered: July 2009
Senior Member
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.

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: Sat Jun 25 15:06:34 GMT 2022

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

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

Back to the top