Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in CITS4401 Software Requirements and Design.

Before posting a question here, you might like to search the forum for previous posts asking the same question - see the search box below and to the right.

RSS cloud
Jump to:


1 of 83 articles shown, currently no other people reading this forum.
From: Rachel CO.
Date: Sat 28th Mar 2020, 8:04am


Dear all

There was some confusion in the workshop answers about what aspects of the problem 
to include in class diagrams.  
For example, can multiple classes be associated with a single class?

One way you typically have many classes linked to one is with “is-a” associations.
These are shown with triangle arrows in class diagrams (attached)
Student is-a Person and Professor is-a Person.
You can also have multiple “has-a” associations (open arrow)
Person lives-at Address and Person teaches Unit.

But it is a good idea NOT to include every possible association between classes in 
a diagram (think transitive closure) – just focus on the important ones.
Similarly with classes - what is the most important data to be used in the system.  

Don't use a class diagram to detail the implementation.
Relationships to do with sequences of operations or changes over time belong in 
dynamic diagrams (statecharts and sequence diagrams) not in a class diagram.

I will add these points to the sample solutions and should be able to get those out 
to you next week.

download PDF file
This Page

Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020