Book a Demo

Author Topic: xmi: association ends and classes  (Read 2994 times)

iherwig

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
xmi: association ends and classes
« on: June 29, 2005, 09:09:19 am »
hello all,

is there a way to determine from the xmi export which associations belong to which classes? as far as i can see ea omits the UML:AssociationEnd.participant tag, which describes the relation between an association and the classes or do i miss something?

thanks, best regards, ingo.

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: xmi: association ends and classes
« Reply #1 on: July 03, 2005, 07:09:54 pm »
In XMI 1.1 the UML:AssociationEnd tag references the connected element using the type attribute.

Where as in XMI 1.2, UML:AssociationEnd.participant tags are used.

Both references are to the elements guid.  If guids are a problem, alternatively you could use the UML:AssociationEnd.name attribute - however this is not necessarily unique, and is only present if you provide a link name in EA (on the connectors property page).

I hope this information is useful :),

Ash
« Last Edit: July 03, 2005, 07:15:21 pm by AshK »
The Sparx Team
[email protected]

iherwig

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: xmi: association ends and classes
« Reply #2 on: July 05, 2005, 06:46:19 am »
ok this works fine.

thanks, best regards, ingo.