Book a Demo

Author Topic: RefGuid and non-1st class citizens of repository  (Read 7321 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
RefGuid and non-1st class citizens of repository
« on: October 12, 2016, 11:08:58 am »
We've created some automation to automatically(1) link physical attributes (for example W3C elements in a W3C Complex Datatype) to conceptual characteristics (attributes in a Business (Data) Object).

We could have used the link to attribute feature of relationships to establish this mapping, but that would create diagrams buried under a mass of arcs.
So, we decided to use a RefGuid tagged value to hold the Guid of the conceptual attribute against the physical attribute. The Guid value is set by the automaton.  In the Tagged Values window, the tagged value (correctly) shows the name of the conceptual attribute.  However, should we want to change the value, we can't - because attributes aren't available on the menu...  They are second class citizens.

It seems to me that they should be available (perhaps via a dialog extension - since it's more rare to connect to features than elements).
Thoughts?

Paolo

(1) via name derivation mapping
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RefGuid and non-1st class citizens of repository
« Reply #1 on: October 12, 2016, 02:21:17 pm »
Paulo,

I've used this mechanism loads of times and i've always been able to select attributes manually from the tagged values window.
This is what's in the description of my tagged value

Type=RefGUID;
Values=Attribute;
AppliesTo=Attribute;


Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: RefGuid and non-1st class citizens of repository
« Reply #2 on: October 12, 2016, 06:03:12 pm »
Paulo,

I've used this mechanism loads of times and i've always been able to select attributes manually from the tagged values window.
This is what's in the description of my tagged value

Type=RefGUID;
Values=Attribute;
AppliesTo=Attribute;


Geert
Thanks for that Geert.  It partly gets around my problem.  The Tagged Value can apply to different types of elements and features.  I was hoping, by not mentioning the specific types that I could avoid having to "spell them out explicitly".  Indeed, the Dialog says <Any> for the types list (at bottom left), when you leave them out!  So I thought it should allow me to select any type of thing.  But it doesn't.

It seems to me that if no Value is specified and no Applies To specified, it should apply to <All> and allow <All> values (note the semantic clarification - we often, colloquially, say Any when we mean All).

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RefGuid and non-1st class citizens of repository
« Reply #3 on: October 12, 2016, 06:09:23 pm »
I think you can make a comma separated list of all the possible Values
But AFAIK there's no shortcut that allows everything to be linked.
But it shouldn't be too hard to to come up with an extensive list of all possible types this tagged value may refer too.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: RefGuid and non-1st class citizens of repository
« Reply #4 on: October 12, 2016, 06:20:29 pm »
Yes, for the present, this seems the only way. 

But what about the current, broken, dialog?
If it's only allowing look-up for <some> types, then it should list them.  If it really means <all>, then it should allow all.

Should I report a bug?

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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: RefGuid and non-1st class citizens of repository
« Reply #5 on: October 12, 2016, 06:21:42 pm »

Should I report a bug?

Paolo
You can, not sure if they are very willing to fix this type of issue.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: RefGuid and non-1st class citizens of repository
« Reply #6 on: October 14, 2016, 11:18:21 am »

Should I report a bug?

Paolo
You can, not sure if they are very willing to fix this type of issue.

Geert
Reported,

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