Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Domain Model Class Diagram Classes and Attributes Painter painterID: int name: String description: String services: String location: String website: String socialMedia: String isChecked: boolean onTimeGuarantee:
Domain Model Class Diagram
Classes and Attributes
Painter
painterID: int
name: String
description: String
services: String
location: String
website: String
socialMedia: String
isChecked: boolean
onTimeGuarantee: boolean
averageRating: float
Customer
customerID: int
email: String
location: String
JobRequest
requestID: int
category: String
serviceType: String
roomType: String
budget: float
materialsRequired: String
jobDate: Date
additionalInstructions: String
status: String
Quote
quoteID: int
costEstimate: float
additionalInfoRequired: boolean
comments: String
status: String
Credit
creditID: int
purchaseDate: Date
expiryDate: Date
amount: int
Feedback
feedbackID: int
rating: int
comment: String
Report
reportID: int
reportDate: Date
content: String
Transaction
transactionID: int
transactionDate: Date
amount: float
Associations and Multiplicity
Painter JobRequest: AssignedTo
Customer JobRequest: Makes
JobRequest Quote: Generates
Painter Quote: Submits
Customer Feedback: Provides
Feedback Painter: For
Painter Credit: Purchases
Credit Transaction: Has
Admin Report: Generates
Generalisation Hierarchies
Person superclass
Attributes: personID, name, email, location
Subclasses:
Painter
Customer
Explanation of Associations
Painter JobRequest: A painter can be assigned to multiple job requests, but each job request is assigned to one painter at a time.
Customer JobRequest: A customer can make multiple job requests, each job request is made by one customer.
JobRequest Quote: A job request can generate multiple quotes, each quote is generated for one job request.
Painter Quote: A painter can submit multiple quotes, each quote is submitted by one painter.
Customer Feedback: A customer can provide multiple feedback, each feedback is provided by one customer.
Feedback Painter: Multiple feedback can be provided for a painter, each feedback is for one painter.
Painter Credit: A painter can purchase multiple credits, each credit is purchased by one painter.
Credit Transaction: Each credit can have multiple transactions, each transaction is related to one credit.
Admin Report: An admin can generate multiple reports, each report is generated by one admin.
BASED ON THAT ANSWER THIS QUESTION: Create a domain model class diagram for the FCP including all classes, attributes,
associations, and multiplicity. Show association classes and generalisation
hierarchies where appropriate.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started