
Object Oriented Analysis Systems
Assignment Tasks
Based on the given problem statement below, draw the class diagram depending on the following tasks:
1) All required Class including its (attributes and methods).
2) Multiplicities and association names should be clearly stated on the class diagram.
Problem Statement
A "Housekeeper service system" with the following scenario:
The housekeeper service system allows customers to reserve cleaning lady, nanny, or waitress
visits by hours during morning or evening time.
In this system, the User requests to register by providing his name, password, mobile phone
and email. The user can be a customer, worker, or System Administrator. The System Administrator
characterized by a level of Access. The system Administrator can register a worker and customer. In
addition, it can update the system services and add offers. The worker will have an age, nationality,
specialty, and evaluation degree. The worker can display all assigned visits and submit a leave of
absence. All users can update their password and mobile phone.
The customer needs to have a nationality ID and address. After registering, the system requests
from the customer the type of services that they need and which worker's nationality. Each customer
can have many services. After customer select the services, he needs to choose the visit period time
(morning/evening), dates and address. Each service can have one or more visits. Finally, the customer
will confirm all service information and make the payment. In the system, the address has a street
name, building number, zip code and city. The system allows each customer to have one to four
addresses. Also, perform the operation add, delete, update, and set a default to each address.
Furthermore, payments needed to have a transaction ID, Date, time, and type (Apple Pay, Credit card
or bank transfer). The customer can get transaction information from the system.
The service will have a contract ID, service type (Cleaning lady, Nanny, Cook, Waitress or
Driver), frequency (Day, week, or month), Start Date, End Date, Period Time (Morning hours or
evening hours), number of visits, location, and cost in SR. When requesting a service you can book,
select, cancel, and get service information. The visit has ID, Worker ID, date, and address. Each visit
can have one to four workers and only one address. The visit can be rescheduled, change the visit
address, evaluate the worker of this visit, and cancel the visit.

Step by stepSolved in 3 steps with 1 images

- Draw a class diagramarrow_forwardObject Oriented Analysis Systems Creating a complete class diagram for the "Housekeeper service system" if given you an overview of the classes, attributes, and associations you would need: 1. *User* - Attributes: name, password, mobile phone, email - Methods: updatePassword(), updateMobilePhone() 2. *System Administrator* - Inherits from User - Attributes: level Of Access - Methods: registerWorker(), registerCustomer(), updateServices(), addOffers() 3. *Worker* - Attributes: age, nationality, specialty, evaluation degree - Methods: displayAssignedVisits(), submitLeaveOfAbsence() 4. *Customer* - Inherits from User - Attributes: nationality ID, addresses - Methods: selectServices(), chooseVisitTime(), confirmServiceInformation(), makePayment(), getTransactionInformation() 5. *Address* - Attributes: street name, building number, zip code, city - Methods: addAddress(), deleteAddress(), updateAddress(), setDefaultAddress() 6. *Payment* - Attributes: transaction…arrow_forwardshow agregation and verfiy your answer pleasearrow_forward
- A Person class has four attributes SSN, age, gender, and address. Normally, SSN and gender are not expected to be changed after the values are set for a person object. Show the UML class diagram for this Person class.arrow_forwardUsing UML class diagrams, create a design for the following (you can defer declaring the types for any instance variables and instance methods as long as you represent the concepts appropriately). NB: You may hand-draw your diagram or use a drawing program (your choice). Upload your finished answer for (a) and (b) as one file. (a) An Employer has one or more Employees. An Employee has exactly one Employer. Employees have attributes for their name, salary and job title (b) We are producing a vehicle registration system for the local DMV/RMV. Model the following using a UML class diagram. Read the entire specification before proceeding (this is ONE question, broken into 4 segments for readability): (i) Our interface (protocol/contract) IVehicle states that all vehicles can register() and calculateExciseTax(). These operations are public and the Vehicle contract is stable – it will not change. (ii) We think we’ll be able to take advantage of code-reuse, so your team must introduce an…arrow_forwardIn The Given Sequence Diagram, In Which Class Should The MakePayment() Operation Be Defined?arrow_forward
- The following Object Relationship Diagram (ORD) is given. Write the definition for each class based on the ORD above. Include the overloaded constructors in each classarrow_forwardClass Employee Employee -Name (string) -ID(integer) -Address(string) -Salary(double) -Nationality(string) -ExtraWHours(int) +>( Name,ID) +void setdata( Address,Salary, ExtraWHours) 1. Regarding to the UML diagram create class Customer 2. Create the constructer Employee that read the Employee Name and ID and set the Nationality to Kuwaiti 3. Use the method setdata that set the remaining class data , this method verify that the number of extra working hours is greater than 5 to set the number to ExtraWHour otherwise set the number 1 + Overtime() to this data member + . get methods 4. create gets methods for all data member 5. calculate Employee overtime in Overtime method this method return double value after calculating the overtime by using the following formula Overtime = (Salary * 0.25)* ExtraWHours Test File 1. declare the object Employee1 with Name Fahad and id 7788 2. Ask the user to enter object data (Address, Salary, ExtraWHours) for the Employee1l objects 3. Set the data for…arrow_forwardThe approach to analysis modelling in which we focus on class definitions and class relationships is structured analysis object-oriented analysis top down functional design none of the abovearrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





