Page 1 of 1

Person NationallD: int (unique) name: String Phone: int +Person(name: String, nationalid:int) K1 +UpdateName() +UpdateEm

Posted: Fri May 20, 2022 6:03 pm
by answerhappygod
Person Nationalld Int Unique Name String Phone Int Person Name String Nationalid Int K1 Updatename Updateem 1
Person Nationalld Int Unique Name String Phone Int Person Name String Nationalid Int K1 Updatename Updateem 1 (138.57 KiB) Viewed 26 times
Person Nationalld Int Unique Name String Phone Int Person Name String Nationalid Int K1 Updatename Updateem 2
Person Nationalld Int Unique Name String Phone Int Person Name String Nationalid Int K1 Updatename Updateem 2 (36.2 KiB) Viewed 26 times
I want the two diagrams as the description in the above
questions.
Person NationallD: int (unique) name: String Phone: int +Person(name: String, nationalid:int) K1 +UpdateName() +UpdateEmail +UpdatePhone Customer -UserName: int = National D -password: int +updateUserName(userName: int) +updatePassword(pw. int) 0..1 Admin -UserName: int {id, readOnly, unique) -password: int +updatePassword(pw:int) 1... 1 Insurance SystemController -insuranceList: Insurance[0..1) -admins: Admin[1..") -customers: Customer(0.1) +addNewAdmin +addNewCustomer +addNewinsurance(customer. Customer) +edit_Insurance(insuranceID: int) +delete_Insurance(insuranceID: int) +editAdmin(adminib:int) +editCustomer(customerid:int) +managePayment(paymentID) +checkForExpiredinsurance(expiredinsuranceList: Insurance[O.. +checkForUnpaidinsurance(unpaidinsuranceList: Insurance[O... 1 Insurance -insuranceID: int {id, unique} -InsuranceType: InsuranceType -insuranceStartDate: Date -insurance Expiry: Date -insurance Description: String insurance Price: double -customerID: int -insurance Status: Status +Insurance(customerid:int) +updateDescription +update Expiry Date +updatePrice) +updateStatus 0... . 1 «enumeration Status unpaid paid expired . Payment -paymentiD: int {unique) -paymentDate: Date -insuranceID: Insurance +updateInsurance Status 1 cenumeration Vehicle carinsurance bicycleInsurance motorbikelnsurance Insurance Type -price: double +updatePrice +another attribute CashPayment TransferPayment +updatePayment +deletePayment +updatePayment) +deletePaymento

P O WORDS POWERED BY TINY QUESTION 6 4 points Save Answer Draw a state-machine diagram for an insurance object. Attach File Browse Low Files Browte Course Files QUESTION 7 2 points View Rubric Save Answer Draw an object diagram that represents the following description: "Ahmad is a customer, with 123456789 national ID, 6552000000 phone number, he used his national ID as a username. His password is 123123. Ahmad has had insurance for a car, with 555 insurance-ID, from the 26th of January 2019 till now, he paid 1588 SR for this insurance, as a complete cost of the insurance. The insurance must be renewed every five years." Attach File Browse Local Files Browse Course Fles Click Save and Submit to sow and submit. Click Save All Answers to serve all answers. Save All Answers Save and Submit