Suppose, I have an enterprise object. User and Organization are the child objects of enterprise object (or you can say dependent on enterprise object). If the enterprise object state is changed to 'Cancelled', I want to set all dependent objects state to 'Cancelled' For this scenario, which design pattern do I have to use in JAVA
Aucun commentaire:
Enregistrer un commentaire