Files
inventorym/README.md
2025-10-29 13:14:10 -04:00

1.1 KiB

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

Relationships shown:

Inheritance (empty arrow heads) Composition (diamond arrow heads) Associations (open arrow heads) Dependencies (dashed lines)