explanations object –oriented design and used to

explanations on the design decisions.

Derive detailed use case diagram,class diagram & a sequence diagram. Whenever necessary document therelevant assumptions you made. (9 Marks)UML is a visual software diagram that is object –orienteddesign and used to develop diagrams by developers and can be used for modelinga system independently. It is also a graphical language to construct andvisualize information about the software. UML diagrams are of many types1.     UseCase Diagram 2.

Don't waste your time
on finding examples

We can write the essay sample you need

     ClassDiagram3.     SequenceDiagram          Use Case Diagram. Use case diagrams are diagrams used to describe aset of actions named use cases. Somesystem should perform with one or more external actors of the system. There are five users that can access in this system.The benefits of using use cases are thatthey can help to define the scope and used to plan the development process anddevelop and validate the requirements.

 ·        Administrator has a username and password tologin and can logout. Administrator has the privilege to create, modify, deleteand search details of projects and users including manager, client, employee,and coordinator. Administrator also can view User list and project list andreceive all the reports of the above details.·        Manager has a username and password to login andcan logout. Manager can view user list and project list and receive all thereports of the above details and check status of the project and search detailsof project. Manger can send newsletters to clients to update with the latestnews.

·        Coordinator has a username and password to loginand can logout. Coordinator has the privilege to create, modify, delete andsearch details of projects and users including client and employee. Coordinatorcan view user list and project list, receive all the reports of the abovedetails and allocate projects to the employees and check project status.·        Client has a username and password to login andcan logout. Client get newsletters by the manager and sends feedback about theproject.·        Employee has a username and password to loginand can logout. Employee can check the allocated project using project list andupdate status of the project.

 Class Diagram.Class Diagram is the most popular UML diagram which is used tomodel the static view and can be directly mapped with object-orientedlanguages.The main symbols used in the class diagram are: ·        Classeswhich show the types of data ·        Associationswhich show connection between the classes ·        Attributeswhere simple data is seen in classes ·        Operationswhich represent the functions performed by the classes ·        Generalizationswhere clustered classes are shown in inheritance hierarchies   Figure 1- Class Diagram There are 4 classes used in the above diagram. User class isfurther divided into 5 sub classes. The user class contains attributes such asuserid, name, contactno, email and etc. and can add, update and delete details.The Administrator creates new projects from the project class which hasattributes such as projected, name, description, startdate and etc.

The projectclass can add, update and delete project details. The manager views the projectreport and sends newsletters to the clients. The coordinator allocates projectsto the employees. The newsletter class has id, subject and message as attributes.The manager can add, update or delete newsletter details. The coordinator getsproject feedback from the clients. The feedback class has attributes of id,projectid, description and clientid. Each user performs the functions available.

The user can only login whenthe details are authenticated. Details are then stored or altered once thedetails are validated and then stored in the database. In the above diagram there are some visibility markers whichsignifies the access of the information in a class.

Private visibility is shownwith a – sign which hides information from anything outside. Public visibilityis shown with a + sign allowing all other classes to see the information. Multiplicitysigns are also used near the ends of the association to show the number of chancesof one class connected to the other class. Constraints are used inside curlybraces {}.

Composition is also used to denote a strong ownership between thefew classes. In the user class, composition is used. Sequence Diagram.A sequencediagram is a UML diagram that shows the order and process of the object arrangedin time sequence. Figure 2- Sequence Diagram The sequence diagram usually uses class roles, activation, lifelines,and messages such as synchronous message, asynchronous message, reply and self-message.In the above diagram, 7 objects named Database,System, Employee, Client, Manager, Coordinator, and Administrator are used inthe diagram.

The administrator adds, modifies or deletes user to the system.The system further requests it to operate to the database. Once the request isapproved, the response is given by the database to the system and user is addedor modified or deleted successfully.

The administrator adds, modifies ordeletes project details to the system. The system further requests it tooperate to the database. Once the request is approved, the response is given bythe database to the system and project detail is added or modified or deletedsuccessfully. The manager adds, modifies or deletes project details to thesystem. The system further requests it to operate to the database. Once therequest is approved, the response is given by the database to the system andproject detail is added or modified or deleted successfully.

The manager sendsthe request to send newsletter to the system. The system further requests it tooperate to the database. Once the request is approved, the response is given bythe database to the system and newsletter is sent successfully. The coordinatorallocates projects to employee and send a request to the system. The systemfurther requests it to operate to the database. Once the request is approved,the response is given by the database to the system and the given project isallocated to the respective employee successfully.

The client adds a feedbackto the system. The system further requests it to operate to the database. Oncethe request is approved, the response is given by the database to the systemand the feedback is added successfully. The employee updates the status of theproject to the system. The system further requests it to operate to thedatabase.

Once the request is approved, the response is given by the databaseto the system and the project status is updated successfully.                   

x

Hi!
I'm Owen!

Would you like to get a custom essay? How about receiving a customized one?

Check it out