Tuesday, May 5, 2020

Domain Modelling Analysis and Design

Question: Discuss about the Domain Modelling for Analysis and Design. Answer: Domain Modelling Domain classes and attributes Class Attributes Client clientID PK cName, cAddress, cContaacPhoneNo, contactEmail Car_Loan vehicleID. clientID PK loanDate, returnDate Vehicle vehicle PK make, model, regNo Service_History serviceID, vehicleID PK serviceDate, odometerReading Service serviceID PK serviceDescription ServiceMechanic serviceID, mechanicID, vehicleID PK Mechanic mechanicID PK supervisorID Staff staffID - PK It is the base class for mechanic sub-class MechanicQualification mechanicID, qualificationID PK Qualification qualificationID PK PurchaseManager Sub-class of Staff base class FinanceManager Sub-class of Staff base class MarketingManager Sub-class of Staff base class Reminder reminderID PK description, generatedOn Bill billID PK generatedOn, status, paidOn Inventory inventoryID PK updatedOn Part partID PK partName, minQuantity, supplierID Supplier supplierID - PK businessContactNo Domain Model Class Diagram Description: By default the value of status is No. A client can make many loans for a particular car and a single car can be booked by many clients at different points of time. If a loan is cancelled then the car becomes available for other bookings. A vehicle can have many service histories and a service can be given to many vehicles. A service can include one to many mechanics. A mechanic is a sub-class of staff of the company. A mechanic can have one to many qualifications. Purchasing manager, finance manager and marketing manager are sub-classes of staff class. All mechanics have one and only one supervisor. Purchasing manager can manage one to many inventory and finance manager looks after various bills and invoices. State Machine Diagram Following state machine diagram is the object of CAR_LOAN class where the status of LOAN in its stated from open to yes: References George, J. (2004).Object-oriented systems analyanalysis and designsis and design. Upper Saddle River, N.J.: Pearson Prentice Hall. Hoffer, J., George, J., Valacich, J. (1999).Modern systems analysis and design. Reading, Mass.: Addison-Wesley. In Adibi, S. (2015).Mobile health: A technology road map Marshall, G. (1985).Systems analysis and design. Englewood Cliffs, N.J.: Prentice-Hall.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.