Question: Draw a class diagram, showing the relevant classes, attributes, operations, and relationships for the following situation: Emerging Electric wishes to create a database with the
Draw a class diagram, showing the relevant classes, attributes, operations, and relationships for the following situation:
Emerging Electric wishes to create a database with the following classes and attributes:

After interviews with the owners, you have come up with the following business rules:
• Customers can have one or more locations.
• Each location can have one or more rates, depending upon the time of day.
Customer with attributes customerID, name, address (street, city, state, zipCode), telephone Location with attributes locationID, address (street, city, state, zipCode), type (business or residential) Rate with attributes rateClass, ratePerkwh
Step by Step Solution
There are 3 Steps involved in it
To create a class diagram for this scenario well identify the three main classes Customer Location a... View full answer
Get step-by-step solutions from verified subject matter experts
