The UML 2 Class Diagram – Part 1
Filed under Common
In any object-orientated system a class diagram shows the building blocks. With class diagrams you have a static view of the model, or part of the model, which describes the attributes and behavior it has so you can easily illustrate the relationships between classes and interfaces.
Definitions:
Classes
Classes are elements that define the attributes and behaviors of an object . A behavior describes possible messages of the class along with operations. Within classes you can also define constraints, tagged values and stereotypes.
Class Notation
A class shows the name of the class and optionally the name of the operations and attributes. The compartments divides the class name, attributes and operations.
Interfaces
The interface is a contract with a specification of behaviors that implementers agree to meet. In an interface, classes are guaranteed to support the required behavior. You may draw the interface in a similar style to a class, specified with operations, or you draw it as a circle with no details to explicit operations.
Tables
Tables are not a part of the base UML, it’s more an example of what can be done with stereotypes. When a table is drawn you can see a small table icon in the upper right corner.
Following in part 2 of the UML Class Diagram.


January 25, 2010 at 10:22 am
[...] Click to read part 1 of the UML 2 Class Diagram [...]
May 23, 2010 at 4:15 pm
Nice! great share,great article,very usefull for me…thank
July 4, 2010 at 7:32 pm
hi, thank for this latest information. Therefore, I would like to ask for your permission to add some of this information in my blog. Of course, I will provide a link to your blog, as a source of my quoted information.
July 27, 2010 at 4:15 pm
be our guest