Class diagram

< Modelling techniques < UML/Alphabetical index
 * Index: Class diagram

Introduction

 * Class diagrams are used to to map out the structure of a business domain.
 * In a class diagram you see an overview of the business objects and how they are related to each other.
 * UML Class diagrams is rooted in object oriented programming.
 * The technique is used to represent the data aspect of classes.

Example

 * If you have a webshop and you sell mugs. The same mug can be in different shopping baskets.
 * If you are an artist and sell unique paintings. A painting can only be in one shopping basket.

Process the following

 * Boxes represent a class