2025-10-27 02:38:24 +00:00
|
|
|
# inventorym
|
|
|
|
|
|
2025-10-28 11:43:15 -04:00
|
|
|
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
|
2025-10-29 13:14:10 -04:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
Relationships shown:
|
|
|
|
|
|
|
|
|
|
Inheritance (empty arrow heads)
|
|
|
|
|
Composition (diamond arrow heads)
|
|
|
|
|
Associations (open arrow heads)
|
|
|
|
|
Dependencies (dashed lines)
|