volume_mute
Objects Created During a Sequence
publish date: 2026/06/08 06:26:26.795109 UTC
volume_mute
The sequence diagram for the Transfer data use case shows a :summary object that is created partway through the sequence. What does the creation of an object during a sequence diagram indicate?
Correct Answer
That a new object instance is instantiated as part of the sequence of operations — it did not exist before that point in the interaction
Explanation
One of the additional features sequence diagrams can show is the creation of objects as part of a sequence of operations. When an object appears partway down the diagram (not at the top), it means a new instance of that object is created during the interaction. In the Transfer data diagram, a :summary object is created to hold summary data that is then uploaded to the national patient records system.
Reference
Software Engineering, Ian Sommerville, 9th edition
