Book a Demo

Author Topic: Redefinition of UML-Attributes: How?  (Read 4293 times)

Michael Hafner

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Redefinition of UML-Attributes: How?
« on: March 25, 2010, 09:06:26 pm »
Dear all,

UML Superstructure 2.2 states that features may be redefined either "explicit[ly] with the use of a {redefines <x>} property string on the feature or implicit[ly] by having a feature with the same name as another feature in one of the owning classifier’s more general classifiers." (7.3.44)

EA: "When Enterprise Architect displays inherited features, it creates a merged list from all generalized parents and from all realized interfaces. If a child Class redefines something found in a parent, the parent feature is omitted from the Merge List."
http://www.sparxsystems.com/uml_tool_guide/modeling_with_uml/setfeaturevisibility.html

I take it, however, that it is not possible in EA to explicitly redefine attributes? I have not found any advice on this in the documention.

Best,
Michael

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Redefinition of UML-Attributes: How?
« Reply #1 on: March 26, 2010, 08:47:28 am »
If you open the attribute's Properties dialog and go to the "Detail" tab, you can select the Redefined Property there. I would like to see it appear on the diagram as "{redefines attributename}" but that doesn't seem to be happening yet.
The Sparx Team
[email protected]

Michael Hafner

  • EA User
  • **
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: Redefinition of UML-Attributes: How?
« Reply #2 on: March 26, 2010, 10:26:07 pm »
Thanks for the prompt reply! - Are you talking about Version 8 Beta 2? - In Version 7.5, there is one frame with "Multiplicity" controls and one frame with "Collection" controls - and one Checkbox for "transient". Nothing about redefinition...

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Redefinition of UML-Attributes: How?
« Reply #3 on: March 29, 2010, 09:13:41 am »
Sorry, you're right - it is new for version 8.
The Sparx Team
[email protected]