Hello, I am a new user of Rational Rhapsody 220.127.116.11. and UML. Currently I am developing a class diagram with Rhapsody, but is does not seem to fully support the creation of association classes.
Have concluded that it creates the class but does not display it with the usual box and does not allow to relate this class to any other. My model has numerous like associations and thus this is an important UML modeling construct. Is there a way to make association classes and relate them with others via associations or generalizations using Rhapsody?
Attached a picture of what I would like to do.
Thank you in advance for your answer,
Pinned topic How to create an association class and relate it with other classes
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-22T12:42:17Z at 2013-01-22T12:42:17Z by fordP
Eldad Palachi 270001KJC29 Posts
Re: How to create an association class and relate it with other classes2012-01-29T07:41:01ZThis is the accepted answer. This is the accepted answer.Hi Nikol,
There are two ways you can create an association class in Rhapsody, via the features dialog of an association or by drawing an anchor from an association to a class.
Unfortunately, there is no way in Rhapsody for an association classes to have references to other classes or participate in other association as you show in your example.
fordP 270004QFQC6 Posts
Re: How to create an association class and relate it with other classes2013-01-22T12:42:17ZThis is the accepted answer. This is the accepted answer.
- Eldad Palachi 270001KJC2
I attach my question to this old post, because it is very similar to my problem:
Do "association classes" support code generation? (How do I enable it?)
I tried the given example, but it does not make any differnce in the generated code.
(The operations and attributes of the association class do not generate any code.)
Is this feature only for documentation purpose?
In the feature dialog of the association in the field "Consists Of", I can also select "Association Element". I understand, what an UML association class is, but what is an "Association Element"?