Person Nationalit: int (unique) name: String Phone: int + Person(name: String, nationali: int) +UpdateName) +UpdateEmail

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Person Nationalit: int (unique) name: String Phone: int + Person(name: String, nationali: int) +UpdateName) +UpdateEmail

Post by answerhappygod »

Person Nationalit Int Unique Name String Phone Int Person Name String Nationali Int Updatename Updateemail 1
Person Nationalit Int Unique Name String Phone Int Person Name String Nationali Int Updatename Updateemail 1 (81.11 KiB) Viewed 32 times
Person Nationalit Int Unique Name String Phone Int Person Name String Nationali Int Updatename Updateemail 2
Person Nationalit Int Unique Name String Phone Int Person Name String Nationali Int Updatename Updateemail 2 (38.27 KiB) Viewed 32 times
Person Nationalit: int (unique) name: String Phone: int + Person(name: String, nationali: int) +UpdateName) +UpdateEmail +UpdatePhone Customer -UserName: int National D -password: int +updateUserName(userName:int) +updatePassword(pw.int) 0..1 Admin -UserName:intlid, readOnly, unique) -password: int +updatePassword(pw:int) 1 1 Insurance System Controller -insurance List: Insurance[0..1] -admins: Admin[1...) -customers: Customer(0..11 +addNewAdmin +addNewCustomer +addNewinsurance(customer. Customer) *edit_Insurance(insurance ID: int) delete_Insurance(insuranceldint) +editAdmin(adminiDint) +editCustomer(customerid:int) +managePayment(paymentID) +checkForExpiredinsurance expiredinsuranceList: Insurance(0.. checkForUnpaidinsurance(unpaidinsuranceList: Insurance[0." 1 Insurance -insurancelDint (id, unique) -Insurance Type: InsuranceType -Insurance StartDate: Date -insurance Expiry Date - insuranceDescription: String -insurance Price: double -customeridint -insuranceStatus: Status Insurance(customeridint) +updateDescription +update Expiry Date() +updatePrice) +updateStatus 0... cenumeration Status unpaid paid expired Payment -paymenti: int (unique) -payment Date: Date -insuranceID: Insurance +updateInsurance Status cenumeration Vehicle carinsurance bicycleInsurance motorbikeinsurance InsuranceType -price: double +updatePrice TransferPayment +another attribute CashPayment updatePayment +deletePayment +updatePaymento +deletePaymento Figure 2

QUESTION 4 O WORD 1 polu Use figure_2, to answer the following two questions by completing the blanks below: 1. What is the correct visibility of person attributes? 2 What is the correct relationship that must be done between Payment and Insurance classes? what is the direction of this relationship? hint: the customer can pay for insurance partially, but each payment relies on the updated data of the insurance Solution The correct visibility of person attributes is The relationship between Payment and Insurance classes is relationship from QUESTION 5 1 poin
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply