Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
jhebley
Post subject: UML Multiplicity Issue  PostPosted: Aug 26, 2009 - 05:23 PM
Registered Member
Registered Member


Joined: Jun 29, 2006
Posts: 17

Strict UML requires a Multiplicity indicator on each end of a relationship, ie 1..*, 1, 0..* etc. Only in UML2 is it an option to omit the indicator in the case that it is unary, ie 1. IMHO this is bad practice, especially when teaching novice A&D people as I do. I always insist that they spend time thinking about the relationship and indicate specifically the value. I notice that your UML editor always omits the "1" . I would prefer if this were a user selectable preference - it may be, but I can't find it.

Not a bug, just annoying.

John
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-joy
Post subject: RE: UML Multiplicity Issue  PostPosted: Aug 27, 2009 - 01:04 PM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3364

John,

In Associations and Uni Associations, we can change the 1..* relationship to 1..1 or a desired number by double clicking by the side of the Association line. If you are trying something else, can you please explain in detail about what you are trying and if possible send me screen shots and sample project? You can PM me or send an e-mail to support@myeclipseide.com. Please mention "Attn: Joy" in the subject line. Also refer this post url in the e-mail.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
jhebley
Post subject: RE: UML Multiplicity Issue  PostPosted: Aug 27, 2009 - 03:47 PM
Registered Member
Registered Member


Joined: Jun 29, 2006
Posts: 17

I recognize that I can change the multiplicity to 1..*, 0..4 etc either by selection from the list or typing the value. However, if I insert a value of 1 (one and only one) it does not display. This is an option in the UML 2 specification, but not one I like.

John
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-joy
Post subject: RE: UML Multiplicity Issue  PostPosted: Aug 28, 2009 - 05:23 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3364

John,

It is possible to show the value "1" for an association. After you enter 1 and press "return" key, it will disappear, but when you again double click on the Association relationship and do the same thing i.e., enter "1" and press "return" key, it will show up as 1. It is similar to 1..1 relationship. I can understand how painful to enter the value twice. I would suggest you to add to the feature request at the following url - http://www.myeclipseide.com/PNphpBB2-viewforum-f-7.html

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits