Skip to content

Inventory Management example for command design pattern

Notifications You must be signed in to change notification settings

goelsonali/InventoryManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Inventory Management

An example to explain COMMAND DESIGN PATTERN in its easiest simplest form.

Here, taking the example of an inventory management system , which requires multiple actions on a product.

The code demonstrate the SRP and Command Pattern usage.

On executing the program , you should see the product details displayed after performing ADD, DELETE and UPDATE action.

Components of COMMAND DESIGN PATTERN -

  1. Command Interface : Action
  2. Concrete class of command interface : AddProduct,UpdateProduct,DeleteProduct
  3. Command Invoker : ProductActionInvoker

This example also covers some unit test classes.

About

Inventory Management example for command design pattern

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages