MSc-IT Study Material
January 2011 Edition

Computer Science Department, University of Cape Town
| MIT Notes Home | Edition Home |

Design classes

As the design progresses, classes can often be fit into various roles. Five common roles are presented below.

When used in software design, these classes can be represented using appropriately named stereotypes. For example, user interface classes can be represented in class diagrams using the «user interface» stereotype, persistence classes with «persistent», and system classes with «system». However, the stereotypes should only be used if they will add useful meaning to the model. If knowing that a particular class will be used in the user interface is not useful, do not add the stereotype.

These classes should have the following properties: