logo

Analysis UML class diagram

   

Added on  2022-09-09

9 Pages1767 Words11 Views
 | 
 | 
 | 
ANALYSIS CLASS DIAGRAM
In object-oriented programming, the class diagrams display the structure for instantiating objects.
The class contains detail on the attributes and the operation that can be performed by the object.
The UML class diagram is a representation of the structure of various classes in a system, their
relation and operation (Hermans, Pinzger and Van Deursen, 2010). The class diagram has three
sections divided based on their representation. The uppers section is the name of the class
followed by a section representing all the attributed of the class. Attributed include name, id, age
etc. The last section is comprised of the methods or operations. This show the behavior of the
class.
Class Diagram
The decision behind developing the class diagram as represented in the diagram is from an
object-oriented basis. From the case scenario, the above five classes had dominant objects in the
case scenario. The tour manager, driver, clerical assistant, tour and financial officer are necessary
Analysis UML class diagram_1

for ensuring that all the activities. Majority of the classes have a similar relation except for the
finance officer class. The finance officer class has a direct relationship only to the clerical
assistant class.
The tour manager can perform the same roles as the tour leaders. The attributes of this class
include the user ID, name, contact number and email address. These details help identify the user
and their ways to contact them. The operations they can perform include making plans for a tour
and leading the tours. The other class is the driver class. The attributed for this class include user
id, name and contact details. The operation is only Drive.
The tour has many attributes, and the only operation is to get the details saved in this class. The
Clerical Assistant class has the user id, user name and contact details as the attributes. The
operation in this class is to check and record the details. The finance officer class has a direct
association with the Clerical Assistant class. The operation includes checking and balancing
financial accounts.
COMMUNICATION DIAGRAM
Definition
Formally referred to as the collaboration diagram. This diagram is used for showing the
relationship between the various object in a project or a system. It is similar to the sequence
diagram only that it does not have the same structuring. The communication diagram does not
pay attention to the order in which the message is relayed. Message overtaking is experienced in
the communication diagram. The following are the component in a communication diagram:
Frames: This rectangle-shaped structure represents the environment of the system
Lifeline: this is a naming element in the communication diagram. It has a rectangle shape
showing the interaction of an individual object in the system.
Message: documentation of an action represented with an arrow
Analysis UML class diagram_2

‘Record New Tour’ Communication Diagram
The diagram above represents the communication diagram for making a new tour entry. From
the use-case description of entering a new tour comprises of three objects. The actor who is
clerical assistance, the user interface and the database. The table below shows the flow of
communication as indicated in the communication diagram (Maoz, Ringert, and Rumpe, 2011).
The communication diagram comprises of three components. This is because they show the full
interaction of the components of the system. The user initiates all the activities; this is possible
through the user interface of the system. The user interface is used in the communication
diagram since it is the intermediary that communicates to the database.
The three components were dominant in system operation thus using them to develop the
communication diagram for the system. The arrangement on the diagram shows that the user
interface is intermediary of the clerical assistant and the database; helping the user manipulate
the data in the database.
Analysis UML class diagram_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Tour and Transport System | Report
|12
|2483
|11

System Analysis and Design
|11
|2294
|273

Tour Management And Analysis System
|12
|2214
|29

UML Diagrams in Enterprise Architect | Assignment
|12
|2025
|19

System Analysis and Design for Wide World Tour Management System
|12
|2236
|53

Developing Diagram In UML Modelling
|13
|2123
|15