Skip to main content
IBM  
Shop Support Downloads
IBM Home Products Consulting Industries News About IBM
IBM developerWorks : XML : Education - Tutorials
XML Schema Infoset Model, Part 1
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackNext
4. Using XML Schema Infoset Model classes
  


How to read UML class diagrams page 1 of 9


Class diagrams
Unified Modeling Language (UML) has become the developer's choice of tools for object-oriented design. Many types of diagrams are defined by UML, but here we'll only cover class diagrams and associations between classes. This tutorial will use IBM Rational XDE to display the different diagrams.

In class diagrams, classes are represented as boxes with three compartments:
UML Class Diagram
The top section in a Class object contains the class name; if the class is abstract, then the name is italicized. The middle section contains the class attributes. The bottom section contains the class methods or operations. Like the class name, if a method is abstract, its name is italicized.

Associations between classes
Any interaction between classes is shown by a line drawn between the classes. A simple line indicates an association. The relationship between the classes can be modified to provide information about the association. The following diagram show the different types of associations that you will need to understand:
UML Class Diagram


Main menuSection menuFeedbackNext
About IBM | Privacy | Legal | Contact