https://i0.wp.com/bellekens.com/wp-content/uploads/2012/01/sequence-diagram-1.png?fit=445%2C278&ssl=1 278 445 Geert Bellekens https://bellekens.com/wp-content/uploads/2023/03/BellekensWebsiteLogo_340x73.webp Geert Bellekens2011-05-27 04:05:102016-09-26 15:17:59UML Best Practice: One Operation => One Sequence Diagram
Model the implementation of your operations with a single sequence diagram for each operation.
Most UML models I’ve seen in my career contain classes with attributes and operations. An Operation is a specification of a behavioral feature. Adding an operation to a class means that you are specifying that your class will respond to a specific request by executing a certain behavior.
So the operation defines the details of the request to be sent to the class (such as name, parameters…), but it doesn’t specify the details of what needs to happen when the operation is called.… Read more