Book a Demo

Author Topic: Setting_TargetNavigability and _SourceNavigable has no effect?  (Read 6357 times)

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
On meta class “Association" I set _SourceNavigable to "Navigable" and _TargetNavigability  to "Unspecified" but when using my stereotype extending the meta class _SourceNavigable is set to "Non-Navigable" and _TargetNavigability  is set to to "Navigable".
Best regards,

Peter Heintz

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Setting_TargetNavigability and _SourceNavigable has no effect?
« Reply #1 on: June 07, 2016, 09:46:20 am »
On meta class “Association" I set _SourceNavigable to "Navigable" and _TargetNavigability  to "Unspecified" but when using my stereotype extending the meta class _SourceNavigable is set to "Non-Navigable" and _TargetNavigability  is set to to "Navigable".
Hi Peter,

Try setting it on the actual stereotype.  See if that works.  If it does, then you may have found a specialization bug.

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

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Setting_TargetNavigability and _SourceNavigable has no effect?
« Reply #2 on: June 07, 2016, 06:10:36 pm »
Ok!
Setting the attribute on the stereotype rather than on the meta class works.

I will issue a bug because neither user guide not profile helper does what is implemented at the end.
Best regards,

Peter Heintz

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Setting_TargetNavigability and _SourceNavigable has no effect?
« Reply #3 on: June 07, 2016, 08:02:12 pm »
Now I realized the _SourceNavigable and the _TargetNavigability attribute is represented as a tag as expected/I was afraid?.
I can even change the Navigability within the properties roles dialog, however now this settings are out of sync with the tags. :'(
Best regards,

Peter Heintz

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Setting_TargetNavigability and _SourceNavigable has no effect?
« Reply #4 on: June 07, 2016, 09:18:46 pm »
Now I realized the _SourceNavigable and the _TargetNavigability attribute is represented as a tag as expected/I was afraid?.
I can even change the Navigability within the properties roles dialog, however now this settings are out of sync with the tags. :'(
You must be doing something wrong.

Sparx EA DOES conflate directionality with navigability (I've noted this many times over the decade or so).  Indeed, you need to read the help carefully on this topic.

I haven't used it myself, but it does seem to say that you ONLY use _XXXXNavigability to set the navigability to Non-Navigable, otherwise you should use the direction attribute.

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

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Setting_TargetNavigability and _SourceNavigable has no effect?
« Reply #5 on: June 08, 2016, 04:54:56 pm »
Ok, here I will fiddel around with the direction.
Best regards,

Peter Heintz