Re: UML class diagrams: hiding the attribute list



Responding to Preuß...

Why would you want to omit class properties?


Why would you show all class properties if they aren't important for the point you want to communicate?

The diagram is part of an OOA or OOD model that specifies the solution to the problem at a given level of abstraction. That specification should be precise, unambiguous, and complete relative to OOA/D abstraction. So if the property isn't relevant to the solution it shouldn't be in the model.

What you say would be true for throw-away models that were used for pure communication peripherally to development. But then one would simply not include the properties and would not worry, as the OP did, about how to indicate unspecified properties.


*************
There is nothing wrong with me that could
not be cured by a capful of Drano.

H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions -- Put MDA to Work
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
(888)OOA-PATH



.



Relevant Pages

  • Re: Entity Relationship Diagrams
    ... I am currently drawing and ER diagram and am not sure about how to ... The way that I would draw it is thus: ... If you are going to use the diagram to communicate with people you ... then the best notation to use is probably going to be whatever they ...
    (comp.databases.theory)
  • Re: userspace pagecache management tool
    ... thing from the cache. ... Specifies that the application expects that it will not access the ... specified data in the near future. ... I'd love to have a proper way to communicate my ...
    (Linux-Kernel)