Author Topic: Is it possible to change Quicklinker by Diagram type?  (Read 3410 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8598
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Is it possible to change Quicklinker by Diagram type?
« on: December 20, 2024, 01:30:31 pm »
We acknowledge that in technologies like ArchiMate, we deal primarily with instances.  Accordingly, the arcs between these (specific) instances link them in a one-to-one relationship.  We have developed instance-linking arc metatypes to record these linkages.  For example, this SQL Server contains the following SQL Server Instances recorded via Composition Link arcs.  Each arc links the specific server to the specific instance.

We also need to define the metamodel for the multiplicity of these linkages.  We can tag the vertex so that we know that it is a "classifier" (i.e. it represents a set of Servers or a set of Server Instances, not a specific instance), and we'd like to allow the metamodel form to have Composition relationship arcs that define the multiplicity of the instances (in the usual way).

So we'd like to be able to say if the item is not in a metamodel, it may only have Composition Link arcs, whereas if it is in a metamodel, it can only have Composition Relationship arcs.  Is there any constraint available in the model generation process to enforce this?
An alternate mechanism might be to constrain the types of relationships available in the QuickLinker by putting the metamodels in a metamodel diagram and non-metamodels not in metamodel diagrams.  Is there any constraint available in the model generation process to enforce this?

One mechanism would be to have two metatypes for the vertex: the "classifier" form and the "instance" form.  This would obviously allow the arc metatypes to be applied appropriately.  This however would duplicate the number of vertex metatypes and we already have a very large number! The classfier metatypes are only really useful in the metamodels so it seems a large expense to have to go this route.

Any ideas are gratefully received!

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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8064
  • Karma: +118/-20
    • View Profile
Re: Is it possible to change Quicklinker by Diagram type?
« Reply #1 on: December 23, 2024, 09:18:58 am »
If you're using the metamodel the only way to change the quicklinker for a diagram type is having different items on the toolbox with the Filter to Diagram option.

It may be possible to do the Composition connectors using the quicklinker table and use the restriction to a diagram type instead of the metamodel.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8598
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Is it possible to change Quicklinker by Diagram type?
« Reply #2 on: December 23, 2024, 11:48:23 am »
If you're using the metamodel the only way to change the quicklinker for a diagram type is having different items on the toolbox with the Filter to Diagram option.

It may be possible to do the Composition connectors using the quicklinker table and use the restriction to a diagram type instead of the metamodel.
Thanks, Eve,

As I thought, but it pays to ask. I'm thinking of using the broadcast events to make the necessary changes. The rules we have are simple and generally applicable, so we'll give that a try.

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