Book a Demo

Author Topic: UML profile - tagged value roles  (Read 3214 times)

ewo

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
UML profile - tagged value roles
« on: January 14, 2023, 09:16:30 am »
Hi,

I am using EA v 15.2 Build 1560.

1.   I create UML profile, and taggedValue between two elements, e.g. ProfileElement [1]----<<taggedValue>>--->[0..*] ReferencedElement.  Namely ProfileElement is related to ReferencedElement with tagged value, where the multiplicity is set to 1 to 0..*. The role name pointing to ReferencedElement is called referencedElements. Both elements extend UML Class.

2. I create MDG technology for this profile, and simple model where I use the profile.

3. I create UML Class and apply stereotype <<ProfileElement>>, and 8 UML Classes which I stereotype <<ReferencedElement>>

4. I go to properties of <<ProfileElement>> and try to set the attribute referencedElement

5. I can only select maximum 6 elements, not more.

I have tried different combinations for the multiplicity specification, i.e. 0..*, *, 1..*, always, only 6 elements max could be selected. Why?

Thank you for the help!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: UML profile - tagged value roles
« Reply #1 on: January 14, 2023, 09:48:11 am »
Hi,

I am using EA v 15.2 Build 1560.

1.   I create UML profile, and taggedValue between two elements, e.g. ProfileElement [1]----<<taggedValue>>--->[0..*] ReferencedElement.  Namely ProfileElement is related to ReferencedElement with tagged value, where the multiplicity is set to 1 to 0..*. The role name pointing to ReferencedElement is called referencedElements. Both elements extend UML Class.

2. I create MDG technology for this profile, and simple model where I use the profile.

3. I create UML Class and apply stereotype <<ProfileElement>>, and 8 UML Classes which I stereotype <<ReferencedElement>>

4. I go to properties of <<ProfileElement>> and try to set the attribute referencedElement

5. I can only select maximum 6 elements, not more.

I have tried different combinations for the multiplicity specification, i.e. 0..*, *, 1..*, but always, only 6 elements max could be selected. Why?

Thank you for the help!
Hi Ewo, 
I vaguely recall a similar issue.
I believe it has to do with the fact that you have a maximum of 255 chars in which to store the result (GUIDs, as I recall).  Each GUID is 38 characters long (as string) so you can only fit a maximum of 6.  If you look in the database, you'll see the GUIDs as I've indicated.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!