This commit is contained in:
2025-10-29 22:27:51 -04:00
parent 1a4014c503
commit b9d3046dd3
18 changed files with 422 additions and 145 deletions

View File

@@ -1,24 +1,16 @@
# inventorym
Inheritance: Shows inheritance relationships (Drawing, Painting, Print, Sculpture extending InventoryPiece)
Associations: Shows composition relationships (Customer has Address, Transaction has Address and InventoryList)
Enumerations: InventoryType and TransactionOperationEnum
Exceptions: four application exception classes extend RuntimeException
Manager Classes: Singleton pattern managers with their collections
Collections: Custom list classes extending ArrayList
Abstract base class (InventoryPiece) with 4 concrete implementations (Drawing, Painting, Print, Sculpture)
Enumerations (InventoryType, TransactionOperationEnum)
Manager classes (Singleton pattern): InventoryManager, CustomerManager, TransactionManager
Model classes: Customer, Address, Transaction
Collection classes: InventoryList, CustomerList, TransactionList
Repository: DataRepository for persistence
Exception classes: 4 custom runtime exceptions
Exception Classes: Four custom exception types
Value Object: Address class
Customer Management: Customer, CustomerList, and CustomerManager
Inventory Management: Abstract InventoryPiece with concrete implementations (Drawing, Painting, Print, Sculpture), plus InventoryList and InventoryManager
Transaction Management: Transaction, TransactionList, and TransactionManager
Data Repository: Singleton DataRepository for data operations
Relationships shown:
Inheritance (empty arrow heads)
Composition (diamond arrow heads)
Associations (open arrow heads)
Dependencies (dashed lines)
Inheritance (hollow arrows)
Associations (regular arrows)
Composition (diamond arrows)
Dependencies (dashed arrows)