Question: Draw a first-cut design class diagram (DCD) based on the domain classes for the Create New Listing use case. Use the CRC card technique to
- Draw a first-cut design class diagram (DCD) based on the domain classes for the Create New Listinguse case.
- Use the CRC card technique to verify the classes that are involved in the Create New Listinguse case. Recall that creating a new listing involves an agent, a real estate office, and a listing. Decide which class should have the primary responsibility for collaborating with the other classes and then complete the CRC cards for the use case. (Show me your cards).
- Update the design class diagram with method named from the CRC cards. For this solution, do not try to determine entire method signatures, just the names.
| Event | Type | Use case |
| Real estate office submits new listing | External | Add new listing |
| Agent request listing information | External | Provide listing information |
| Time to produce multiple listing book | Temporal | Produce multiple listing book |
| Real estate office submits listing change request | External | Record listing change |
| New real estate office opens (implied) | External | Add new real estate office |
| Change real estate office information | External | Update real estate office info |
| New agent is hired (implied) | External | Add new real estate agent |
| Change agent information | External | Update real estate agent info |
| House is sold (from CRUD) | External | Delete listing |
| Real estate office closes (from CRUD) | External | Delete real estate office |
| Agent retires/quits (from CRUD) | External | Delete real estate agent |
| Use case name: | Create a new listing | |
| Scenario: | MLS clerk creates a new listing | |
| Triggering event: | New property is put up for sale | |
| Brief description: | The listing agent is identified and verified. The new property information is entered into the system, along with images etc. | |
| Actors: | MLS clerk | |
| Related use cases: | Real estate office/agent creates a new listing (Web version scenario) | |
| Stakeholders: | Real estate office, Real estate agent, Property owner | |
| Preconditions: | Real estate office must exist Real estate agent must exist | |
| Postconditions: | New listing must be created and associated with RE office and RE agent | |
| Flow of activities | Actor | System |
| 1. Find real estate agent
2. Enter new listing information | 1.1 Display agent and office information 2. Create new property listing record, associated with agent. Display results.
| |
| Exception conditions: | 1.1 Agent information not found. Display not found message. | |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
