Book a Demo

Author Topic: UML2.0 Implemented Metamodel  (Read 3425 times)

ddinh

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
UML2.0 Implemented Metamodel
« on: January 05, 2012, 09:43:47 pm »
Hello,

Could you please provide the metamodel of your UML2.0 implementation please ?

My objective is to list the activities performed by an instantiated actor.

For doing this, I instantiated an actor through "instance classifier" command (contextual menu of an swim lane or pool). Then I tried to build a matrix between Activity & Activity Partition but I'm not able to find the kind of relationship between both concepts.

In the model browser, activities are contained within a activity partition but when you display the properties of the activity partition, related links is empty...

Do you have any clue on this ?

Thanks in advance,

Dorian.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: UML2.0 Implemented Metamodel
« Reply #1 on: January 05, 2012, 09:57:24 pm »
The relation is the containment. When an element is placed inside another it has a parent-relation which can be seen in the GUI by inspecting the browser. In automation you have a ParentID.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: UML2.0 Implemented Metamodel
« Reply #2 on: January 05, 2012, 11:19:16 pm »
Yes, unfortunately EA doesn't add nesting relations for owned elements.

Geert

ddinh

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: UML2.0 Implemented Metamodel
« Reply #3 on: January 05, 2012, 11:57:02 pm »
@qwerty.
When editing a matrix :
Source : ActivityPartition
Target : Activity
Direction : Source->Target
What should be the link type ? "nesting", "aggregation", "composition" don't work. There is no "containment" type unfortunately...

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: UML2.0 Implemented Metamodel
« Reply #4 on: January 06, 2012, 02:04:55 am »
Hmm. I don't know whether it's a good idea at all to create a relation. Once you done that (you can always create a dependency) this will appear in the diagram. And that's probably not what you want. So the answer to your question is: don't use the matrix. Try a different approach.

q.