Book a Demo

Author Topic: Quicklinker - Adding more functionality?  (Read 3850 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Quicklinker - Adding more functionality?
« on: July 23, 2015, 10:57:43 am »
We have some new Associations we want to manage.  They are to do with onto-terminological modelling - but conceptually they are:
simple Associations - with scope set to classifier (at both ends) and the name specific to each type of relationship.

We have decided that we will only create stereotypes for new metatypes and while (as a whole) the new relationships constitute a new metatype (say: Onto-Terminological Association), each individual specialisation (technically a restriction) doesn't.

However, using existing QuickLinker functionality, there doesn't seem to be a way to set things like the name of the relationship or any other features, just the type and stereotype.

Is that correct?

If so, then, to be able to use the QuickLinker, we have to break our rule about metatypes and assign a specific stereotype to the specialisations, yes?

Paolo
« Last Edit: July 23, 2015, 10:58:14 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Quicklinker - Adding more functionality?
« Reply #1 on: July 23, 2015, 08:04:16 pm »
Yes, this is not possible via the QL. However, in a similar situation I created some "dummy" stereotypes and upon creating them the EA_OnPostNewConnector allowed to replace it with whatever seemed to be relevant on a greater scope.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Quicklinker - Adding more functionality?
« Reply #2 on: July 23, 2015, 09:42:56 pm »
Quote
Yes, this is not possible via the QL. However, in a similar situation I created some "dummy" stereotypes and upon creating them the EA_OnPostNewConnector allowed to replace it with whatever seemed to be relevant on a greater scope.

q.
So if I understand you correctly, you created dummy stereotypes in the MDG but the script would detect the dummy and then fix all the properties that were associated with the "Correct" setup (such as ensure that the scope at both ends was "Classifier" if that wasn't possible by other, more declarative means.

I've managed to avoid reacting to events for over a decade, but it looks like I'll need to "dip my toe in the water".   :D

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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Quicklinker - Adding more functionality?
« Reply #3 on: July 23, 2015, 09:51:10 pm »
Yep. Also be aware of the electric eels swimming around there...

q.

P.S. Hey. Two more posts and I got 6000. I gonna have a t-shirt with "another thousand without an award" printed on it.
« Last Edit: July 23, 2015, 09:52:44 pm by qwerty »