Creating an attribute stereotype [message #1728402] |
Mon, 04 April 2016 08:30 |
Philippe de Rochambeau Messages: 40 Registered: February 2013 |
Member |
|
|
Hello,
in the Interaction Flow Modeling Language book published by Morgan Kaufman, the authors state that:
Quote:an effective way to create a UML stereotype of the general concept of attribute or attribute group and associate the OCL contraint with such a stereotype.
I have created a Profile and a Stereotype within it called PK, within my Papyrus RootElement, then created a Class with a single attribute. Next, I have tried applying the newly create profile to the latter, but without success because it would seem as though you can only apply Stereotypes to Classes, not to attributes.
What am I doing wrong?
Many thanks.
Philippe
[Updated on: Mon, 04 April 2016 08:31] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02206 seconds