Tutorial 6 - Domain Modelling
Tutorial 6 - Domain Modelling
1. Use a combination of the brainstorming technique and the noun technique to identify
potential domain classes and their attributes. Consider the relationships among the classes
you find.
2. Create the model on paper first, showing all domain classes and attributes. Show the
multiplicity of all associations. If you find a many-to-many association, include an association
class.
3. Where you have questions or there is insufficient information, note any assumptions you
make.
Note that by default, your classes will probably have three boxes like this:
Class
-attributeName : char
However, this is more like what the eventual design class diagram will look like. The domain class
diagram should not include the third box for methods. To remove it, just remove the dotted
‘separator’ line:
1
Class
attributeName
To show the associations between classes, use the Association connector. To show multiplicity, right-
click on the association and choose Multiplicity. You can change the placeholders to show 1..1, 1..n,
etc.
• Remember to include a title and legend to your diagram. Complete your domain model class
diagram before the next tutorial.