they are dependent on information also changes in them. There are associations which are in
terms of arrows or lines. These are the lines that link the classes. For example; we can view
that the staff and clients are joined together by the use of this association annotations
represented by a line with an arrow.
There is the presence of visibility of class attributes and operations. There are around
four types of visibility which include the protected, private, public and package. The + sign
represents the public attributes or operations which can be viewed and known by anyone. For
example the name of staff since the name of a person is not supposed to be a secret since that
is what they are recognized with. The – sign represents private attributes or operations which
are private in that not everyone can view them. A good example is the amount of money a
person is paid. Some people do not like it if people know how much they are paid since it can
bring about a lot of controversial thinking and unnecessary gossiping. The # sign represents
the protected attributes or operations which cannot be seen by everyone since it is protected
and only used when authorized. For example a person’s medical status cannot be shared with
anyone since in case it leaks to the public one might end up suing another. The ~ sign
represents package attributes or operations.
There is the presence of multiplicity. This is what shows how many objects in the
class diagram will be part of a relationship. There are several types of multiplicity; 1 which
means exactly only one, 0..1 which refers to zero or one,1..* which refers to one or more, 0..*
or* which means many,1..*, 0..1, 3..4 which denotes a complex relationship and lastly 3..4 or
6 which represents the exact number.
The diagram below is a relational model for the class diagram that has been created
above as explained on the first paragraph.