Person National D: int (unique) name: String Phone: int +Person(name: String, national D: int) +UpdateName() +UpdateEmai

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 National D: int (unique) name: String Phone: int +Person(name: String, national D: int) +UpdateName() +UpdateEmai

Post by answerhappygod »

Person National D Int Unique Name String Phone Int Person Name String National D Int Updatename Updateemai 1
Person National D Int Unique Name String Phone Int Person Name String National D Int Updatename Updateemai 1 (167.76 KiB) Viewed 18 times
3- what is the difference between the username in Customer and in Admin classes?
5- What is the difference between Vehicle and the other classes in the diagram? [no more than 3 lines]
Person National D: int (unique) name: String Phone: int +Person(name: String, national D: int) +UpdateName() +UpdateEmail +UpdatePhone Customer -UserName: int = National D -password: int +updateUserName(userName: int) +updatePassword(pw:int) 0..1 Admin 1 -UserName: int {id, readOnly, unique} -password: int +updatePassword(pw: int) 1... 1 Insurance System Controller -insuranceList: Insurance[0..1] -admins: Admin(1.4) -customers: Customer[0..1] +addNewAdmino +addNewCustomer +addNewInsurance(customer: Customer) +edit_Insurance(insuranceID: int) +delete_Insurance(insurancelD: int) +editAdmin(adminiD: int) +editCustomer(customerID: int) +managePayment(paymentid) +checkForExpiredinsurance(expiredinsuranceList: Insurance[O..*]) +checkForUnpaidinsurance(unpaidinsuranceList: Insurance[O..*]) 1 Insurance -insuranceID: int {id, unique} - Insurance Type: InsuranceType -insuranceStartDate: Date -insurance Expiry: Date -insurance Description: String -insurance Price: double -customerID: int -insurance Status: Status +Insurance(customerID: int) +update Description +update Expiry Date() +updatePrice +updateStatus 0.. cenumeration>> Status 1 unpaid paid expired Payment -paymentID: int {unique} -paymentDate: Date -insurancelD: Insurance SERE+updateInsuranceStatus() 1 «enumeration>> Vehicle carinsurance bicycleInsurance motorbikelnsurance InsuranceType -price: double +updatePrice TransferPayment +another attribute CashPayment +updatePaymento) +deletePayment +updatePayment() +deletePayment
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply