modeling - UML sequence Diagram duplicate methods -


there can 2 operations retailer can make when updating inventory i.e. update existing record or add new one. after making 2 operations controller invoke updateview() method change main page view. have used thrice ok call same method? have added image reference.

enter image description here

no. that's not ok. first: retailer not directly call methods of uicontroller. use view (main page). these interaction further handled uicontroller. shall not shortcut calls through instance.

now, when click save in main page in example, different saves. there 2 ways around this: 1 have more single view (main page a, main page b, etc. or more specific in displayed). second name clicked buttons correctly. save a, save b, etc.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

delphi - Take screenshot in webcam using VFrames in Console Application -

extjs - Set tooltip on click event on the grid cell -