Book a Demo

Author Topic: EA UML Profiles:stereotypes and complex attributes  (Read 2586 times)

Rayner

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
EA UML Profiles:stereotypes and complex attributes
« on: January 19, 2012, 09:04:57 pm »
Hi,

I have the following scenario:
A predefined UML Profile in which stereotypes have compositional relationships with different cardinalities to regular Classes in the profile model, which in turn may own complex attributes (typed to Classes) either directly or via a compositional relationship.

After experimenting with how the UML Profiles specification is implemented in EA it does not seem these kinds of profiles are permitted (although this is inline with UML).

Is there some way of implementing the above Profile in EA that could work for us? I have mostly followed the standard guides for UML profile definition in EA.

Some observations  from our experiments with profiles and EA:

1. The source of Compositonal relationships are not iterpreted as being properties of the owning Stereotype, and are therefore not included in the generated EA-Profile XML. A way around this: define the relationships instead using typed properties directly in the Stereotype.

2. After generating an EA-Profile XML, cardinalities on these properties are lost in the XML.

3. The tagged value screen does not seem to support setting structured tagged values as the value of a parent tagged value.
« Last Edit: January 19, 2012, 09:48:34 pm by raynerv »

Mehrdad Fatemi

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: EA UML Profiles:stereotypes and complex attrib
« Reply #1 on: August 21, 2012, 10:29:40 am »
I'm struggling with the same issue.
Does anyone know why Sparx ignores the relationships when creating profiles?
I'd have expected the UML Profile generator to automatically add TaggedValues based on meta-model relationships.

Any thoughts?!