Download presentation
Presentation is loading. Please wait.
1
Fall 2009ACS-3913 Ron McFadyen1 Instances & Object Diagrams Joe: Customer Class instances/ Objects An individual object (instance of a class) is shown as a rectangle with naming information underlined See Schaum’s Outline page 134 An unnamed customer : Customer A customer named Joe
2
Fall 2009ACS-3913 Ron McFadyen2 Diagramming notation :sale s4:sale A sale object named s4 An unnamed sale object s4 An object named s4 Object instances appear in sequence and object diagrams.
3
Fall 2009ACS-3913 Ron McFadyen3 Connections between Objects sam:CarSharer toWork:Journey visitMother:Journey home:Address mothersHouse:Address work:Address Registers StartsAt EndsAt Related objects are connected with a link. Readability shows direction of the link. Note that each object appears once.
4
Fall 2009ACS-3913 Ron McFadyen4 Connections between Objects sam:CarSharer toWork:Journey visitMother:Journey home:Address mothersHouse:Address work:Address Registers StartsAt EndsAt Directed lines show direction of the link.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.