Summary.

Cases and CRUD

  • CRUD
    • Create
    • Read/Report
    • Update
    • Delete
  • Cross-check against the existing set of use cases.
    • Ensure all classes have a complete “cover” of use cases
  • Not for primary identification of use cases
  • Another use of CRUD technique is to summarize all use cases and all data entities/domain classes to show the connection between use cases and data.
Use case vs. entity/domain classCustomerAccountSaleAdjustment
Create customer accountCC
Look up customerRR
Produce customer usage reportRRR
Process account adjustmentRURC
Update customer accountUD[archive]UD [archive]

Example for classes:

  • Parking classes
    • Structure/Lot
      • INSERT new structure/Lot (Adding a new structure)
      • SELECT structure/lot (choosing lots for a query)
      • UPDATE structure/lot (update names, capacity size)
      • DELETE structure/lot (demolished)