Book a Demo

Author Topic: No way to specify STATIC classes  (Read 5215 times)

Emilio

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
No way to specify STATIC classes
« on: August 05, 2009, 04:25:32 pm »
Version: EA 7.5
The following topic was raised regarding sealed classes:

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1217504205/4#4

There it was suggested that static classes were denoted in a similar way in EA. Well that is not the case, I reversed engineered a static C# class into my diagram and there was absolutely no attribute to indicate this was a static class: no stereotype, no classname in bold letters, no cardinality {1}, and no advanced attributes (Advanced button in properties tab).

Basically there appears to be no way to specify such thing.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: No way to specify STATIC classes
« Reply #1 on: August 05, 2009, 04:59:13 pm »
Emilio,

There might be a (good?) reason for the absence of the static indicator for classes namely: In UML the "isStatic" property only applies to features of a class. (attributes and operations) and not the the class itself.
I guess the fact whether a class is static or not can be derived from  having only static features.

Geert

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: No way to specify STATIC classes
« Reply #2 on: August 05, 2009, 08:35:16 pm »
In the EA help index look up C# | Modeling Conventions. Static is near the bottom of the Tagged Values table.
No, you can't have it!