UML Class Diagrams

The class diagram is both an architectural tool for overall system design, and an organizational tool for both designers and developers. The class diagram, when taken as a whole, allows designers and developers to work at a level of abstraction that is removed from the technical details of a particular platform or language. However, the individual UML elements that compose a class diagram were explicitly designed for the purpose of mapping the abstract system model onto language-specific types and idioms.

A class diagram focuses on the internal structure and the relationships of the classes in the model. The internal structure of a class consists of its attributes (including derived attributes), and operations. The kinds of relationships shown on the class diagram are inheritance (known as generalization in the UML), and links such as associations (including derived associations). You can also add OCL invariant constraints and query expressions to the model; you can call the ECO framework at runtime to enforce the constraints or to execute the query.

Note: As with .NET namespaces and UML packages, classes on the code visualization diagram are drawn in white, while ECO-enabled classes are drawn in yellow.

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook

Post a comment