Book a Demo

Author Topic: MDG Technology - stereotyped relationship (connector to element?)  (Read 4465 times)

rgupta4

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
MDG Technology - stereotyped relationship (connector to element?)
« on: September 10, 2019, 06:15:15 am »
I've been following the methodology described in http://dthomas-software.co.uk/a-cure-to-the-pain-of-sparx-ea-quicklink-defintions/ to specify stereotyped relationships for MDG technologies. I was wondering if it is possible to create a stereotyped relationship between a connector and an element? For example I would like to link a Business Event element to an InformationFlow connector between two elements. I know this not standard UML convention, but would like to do this anyways. I know that you can link elements and connectors together https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/conn_to_conn.html but would like to have the convenience of tailoring the quicklink behavior in certain circumstances.

Many thanks!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: MDG Technology - stereotyped relationship (connector to element?)
« Reply #1 on: September 10, 2019, 08:08:37 am »
If you have the older style Quicklinker definition file, then you can use link:<connnector type>  in place of the object type to describe the origin and/or destination.

For example, this allows the creation of a derivation link between an Association and a Composition:
Code: [Select]
link:Association,,link:Composition,,,,,Abstraction,Derivation,to,derives from,derives from,True,,,True,Derivation,0,,,,,&#xA;

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

rgupta4

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: MDG Technology - stereotyped relationship (connector to element?)
« Reply #2 on: September 12, 2019, 11:26:08 am »
Thank you. I am not using the older style quick linker definition, but perhaps I should for this specific item.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: MDG Technology - stereotyped relationship (connector to element?)
« Reply #3 on: September 12, 2019, 02:17:44 pm »
The metamodel definition described in that article does support creation of connectors with other connectors as the source or target. There's no special syntax required.

My understanding of what you have described would look something like this.

[«stereotype» Business Event] «stereotyped relationship» {stereotype=stereotype} [«metaclass» InformationFlow]

But other possibilities include
[«stereotype» Business Event] «stereotyped relationship» {stereotype=another_profile::stereotype} [«metaclass» InformationFlow]
[«stereotype» Business Event] «metarelationship» {metaclass=Dependency} [«metaclass» InformationFlow]
[«stereotype» Business Event] «metarelationship» {metaclass=Dependency} [«stereotype» MyInformationFlow]