Book a Demo

Author Topic: Properties: Redefinition: Display in EA 9.0  (Read 3947 times)

Michael Hafner

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Properties: Redefinition: Display in EA 9.0
« on: July 30, 2012, 08:02:23 pm »
Dear all,
is there any possibility to display the redefinition of a property on a diagram?

I think, documentation of an earlier version (7.*?) had it that attributes with identical names would "be merged" somehow in this case:


Att_01 isAttributeOfClass Cls_01 &&


Att_01 isAttributeOfClass Cls_02 &&


Cls_02 isSubClassOf Cls_01


(Cls_02.Att_01 being regarded as a redefinition of Cls_01.Att_01)

However, the feature did not seem to work at the time, and obviously has been discarded. According to UML 2.3 (http://www.omg.org/spec/UML/2.3/Superstructure/PDF/), redefinition should be stated thus:

‘redefines’ <property-name>

So that, in the context of Cls_02,


Att_01 {redefines Att_01}

EA has a very efficient way to model redefinition, but is there a way  to display it  as well - ?

Best,

Michael




Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Properties: Redefinition: Display in EA 9.0
« Reply #1 on: July 30, 2012, 08:25:59 pm »
I know it works correctly for associations, but I've never tried it on attributes.

Geert

Michael Hafner

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: Properties: Redefinition: Display in EA 9.0
« Reply #2 on: July 30, 2012, 09:49:24 pm »
It's a little confusing:

1. Associations: Via tabs Association Properties > Source|Target Role > Qualifiers, you reach a tab, Detail, which is about redefinition, however, all the controls are disabled. No redefinition is shown, even if it's there. You have to use the context menu Advanced - always a good bet - and select Association Specialization. Now you can assign a redefinition, albeit only one. But it works, like you said.


2. Attributes: Attribute Properties > Detail. Here, the controls work, you can even assign multiple redefinitions. But they aren't shown anywhere, and I haven'd discovered any visibility option so far.

:-/

M.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Properties: Redefinition: Display in EA 9.0
« Reply #3 on: July 30, 2012, 09:54:14 pm »
In short: EAUI :-X

Geert