Chap 9_Sequence Diagrams

Chap 9_Sequence Diagrams - ObjectInteraction ,McRobband...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
03/12/2001 1 Object Interaction Based on Chapter 9 of Bennett, McRobb and  Farmer:  Object Oriented Systems Analysis and Design  Using UML,  (2 nd  Edition), McGraw Hill, 2002.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 In This Lecture You Will Learn: In This Lecture You Will Learn: How to develop object collaboration  from use cases How to model object collaboration using  an interaction sequence diagram How to model object collaboration using  an interaction collaboration diagram How to cross-check between interaction  diagrams and a class diagram
Background image of page 2
3 Object Messaging Object Messaging :Campaign anAdvert:Advert getCost( ) Objects communicate by sending  messages Sending the message getCost() to an  Advert object, might use the following  syntax        advertCost = anAdvert.getCost()
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 UML  interaction diagram UML  interaction diagram Kinds of UML  interaction diagram Interaction sequence diagram Interaction collaboration diagram
Background image of page 4
5 Interaction & Collaboration Interaction & Collaboration 'The structure of Instances playing roles in a  behavior  and  their  relationships  is  called  a  Collaboration .‘ 'An  Interaction  is  defined  in  the  context  of  a  Collaboration. It specifies the communication  patterns  between  the  roles  in  the  Collaboration.  e.g.  what Signal to be sent or what Operation to  be  invoked,  as  well  as  the  roles  played  by  the  sender and the receiver, respectively.' UML (OMG, 2001)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Sequence Diagrams Sequence Diagrams Show an interaction between objects  arranged in a time sequence  Can be drawn at different levels of detail and  to meet different purposes at several stages  in the development life cycle Typically used to represent the detailed object  interaction that occurs for one use case or for  one operation
Background image of page 6
7 Sequence Diagrams Sequence Diagrams Vertical dimension shows time Objects involved in interaction appear  horizontally across the page and  represented by lifelines Messages are shown by a solid  horizontal arrow The execution of an operation is shown  by an activation
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8 Difference Difference Sequence diagram drawn during  analysis differ from those drawn during  design in two major aspects Analysis sequence diagrams normally do  not include design objects nor do they  usually specify message signatures in  detail.
Background image of page 8
9 Sequence diagram Sequence diagram :Client :Campaign :Advert getName() listCampaigns() listAdverts() *getCampaign Details() Advert() *getAdvert Details() newAd:Advert addNewAdvert() Object lifeline Activation Object creation Campaign Manager
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10 Boundary & Control Classes
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/04/2010 for the course MSC CP 1312 taught by Professor Ms.nireshfathima during the Fall '09 term at Unity.

Page1 / 35

Chap 9_Sequence Diagrams - ObjectInteraction ,McRobband...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online