SlideShare a Scribd company logo
1 of 61
Object Oriented Software Modeling and Design  CE 350 Abdel-Karim Al-Tamimi, Ph.D. [email_address] http://faculty.yu.edu.jo/altamimi Al-Tamimi 2011 ©
Overview ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Interaction Diagrams ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Interaction Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Interaction in UML ,[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Sequence Diagram ,[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Sequence Diagram: Example Al-Tamimi 2011 ©
Sequence Diagram: Example Al-Tamimi 2011 ©
Interaction Diagrams Notation in UML Al-Tamimi 2011 © Naming Format Notation An object of an unspecified class. A named object of a specified class. An unnamed object of a specified class.
Interaction Diagrams Notations in UML Al-Tamimi 2011 © Object Category  Description Graphical Notations  Actor Object An external entity that interacts with the system Entity Object   An object that models the data in the system.  It often represents an object in the problem domain
Interaction Diagrams Notations in UML Al-Tamimi 2011 © Object Category  Description Graphical Notations  Boundary Object An object that handles the communication between actor objects and the system.  Control Object    An object that models the flow of control and functionality that do not naturally belong to entity objects or boundary objects.
UML Notations - Messages Al-Tamimi 2011 © Message Description Notation Procedure call  or other nested flow of control The message sender waits for the completion of the procedure call of the message receiver (waits for a reply) Asynchronous communication The sender dispatches a message and immediately continues with the next step of execution (there are no reply arrows)
UML Notations - Messages Al-Tamimi 2011 © Message Description Notation Return message  Message returned from the procedure call Message with travel delay  The message will take a significant amount of time to arrive at the receiving object. (This is only used in sequence diagrams.)
UML Notations - Messages Al-Tamimi 2011 © Message Description Notation Lost Message The sender is known, the receiver is not Found Message The sender is unknown, and the receiver is known Create Message A message creates a new  instance
Messages Notations Summary Al-Tamimi 2011 ©
Sequence Diagram: Lifeline and Activation Al-Tamimi 2011 © Object with Lifeline Object with Activation Activation:  show the duration of the execution of a method in response to a message
Sequence Diagram: Branching Al-Tamimi 2011 © Conditional Message Transmission
Sequence Diagram: Iteration Al-Tamimi 2011 ©
Sequence Diagram: Alternate Message Reception Al-Tamimi 2011 ©
Sequence Diagram: Recursion Al-Tamimi 2011 ©
Example Al-Tamimi 2011 © Life line Creation Deletion
Example Al-Tamimi 2011 © Life line Activation iteration
Example Al-Tamimi 2011 © Life line collective iteration
Example Al-Tamimi 2011 © Concurrent Branch
Example Al-Tamimi 2011 ©
Example Al-Tamimi 2011 ©
Example Al-Tamimi 2011 ©
Tips and Tricks: Return Type ,[object Object],Al-Tamimi 2011 ©
Tips and Tricks: Object Destruction Al-Tamimi 2011 ©
Tips and Tricks: Iteration (looping) with A Condition Al-Tamimi 2011 ©
Tips and Tricks: Optional/Conditional Messages Al-Tamimi 2011 ©
Tips and Tricks: Conditional Messages (Mutual Exclusive) Al-Tamimi 2011 ©
Tips and Tricks: Looping Using Explicit Notations Al-Tamimi 2011 ©
Tips and Tricks: Looping Using Implicit Notations Al-Tamimi 2011 ©
Tips and Tricks: Nesting of Frames Al-Tamimi 2011 ©
Tips and Tricks: Relating Interaction Diagrams (Using Ref) / Interaction Occurrence Al-Tamimi 2011 ©
Tips and  Tricks: Polymorphic Message Al-Tamimi 2011 ©
Tips and Tricks: State Invariant Al-Tamimi 2011 ©
Tips and Tricks: State Invariant  Al-Tamimi 2011 ©
Tips and Tricks: Parallel Al-Tamimi 2011 ©
Tips and Tricks: Negative Operator/Invalid Operation Al-Tamimi 2011 ©
Tips and Tricks: Critical Region/Atomic Al-Tamimi 2011 ©
Tips and Tricks: Decomposition Al-Tamimi 2011 ©
Tips and Tricks: Continuations Al-Tamimi 2011 ©
Tips and Tricks: Continuations Al-Tamimi 2011 ©
Tips and Tricks: Hard Timing Requirements Al-Tamimi 2011 ©
Tips and Tricks: Break Fragment Al-Tamimi 2011 ©
Collaboration Diagram ,[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Example: Telephone System Al-Tamimi 2011 ©
Example: Message with Durations Al-Tamimi 2011 ©
Example: Printing Transcripts Al-Tamimi 2011 ©
Example: Printing Transcripts Al-Tamimi 2011 ©
Example: from Java IO API Al-Tamimi 2011 ©
Example: ATM Machine ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
Example: ATM Machine ,[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©
ATM Machine: Part1 Al-Tamimi 2011 ©
ATM Machine-Part2 Al-Tamimi 2011 ©
Soft-Drink Vending Machine Sequence Diagram Al-Tamimi 2011 ©
Soft-Drink Vending Machine Collaboration Diagram Al-Tamimi 2011 ©
Example Al-Tamimi 2011 ©
Resources ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Al-Tamimi 2011 ©

More Related Content

What's hot

Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagramsjsm1979
 
Introducing Uml And Development Process
Introducing Uml And Development ProcessIntroducing Uml And Development Process
Introducing Uml And Development ProcessTerry Cho
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionRamakant Soni
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)Hirra Sultan
 
Uml Omg Fundamental Certification 1
Uml Omg Fundamental Certification 1Uml Omg Fundamental Certification 1
Uml Omg Fundamental Certification 1Ricardo Quintero
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLMalek Sumaiya
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbolsKumar
 

What's hot (19)

UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Usecase Presentation
Usecase PresentationUsecase Presentation
Usecase Presentation
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagrams
 
Use case model
Use case modelUse case model
Use case model
 
Introducing Uml And Development Process
Introducing Uml And Development ProcessIntroducing Uml And Development Process
Introducing Uml And Development Process
 
Domain model
Domain modelDomain model
Domain model
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language Introduction
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)
 
Uml Omg Fundamental Certification 1
Uml Omg Fundamental Certification 1Uml Omg Fundamental Certification 1
Uml Omg Fundamental Certification 1
 
Uml
UmlUml
Uml
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
Object Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UMLObject Oriented Modeling and Design with UML
Object Oriented Modeling and Design with UML
 
UML Diagrams
UML  DiagramsUML  Diagrams
UML Diagrams
 
Lecture02
Lecture02Lecture02
Lecture02
 
Design UML diagrams
Design UML diagramsDesign UML diagrams
Design UML diagrams
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 

Similar to Lecture07

Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagramsartgreen
 
Extending UML for Agents
Extending UML for AgentsExtending UML for Agents
Extending UML for AgentsMohamed Elagnaf
 
Transaction handling in com, ejb and .net
Transaction handling in com, ejb and .netTransaction handling in com, ejb and .net
Transaction handling in com, ejb and .netijseajournal
 
Lecture 13 requirements modeling - flow & behavior (2)
Lecture 13   requirements modeling - flow &  behavior (2)Lecture 13   requirements modeling - flow &  behavior (2)
Lecture 13 requirements modeling - flow & behavior (2)IIUI
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 
18540PhDreport.pdf
18540PhDreport.pdf18540PhDreport.pdf
18540PhDreport.pdfTaraTrends
 

Similar to Lecture07 (20)

Lecture09
Lecture09Lecture09
Lecture09
 
Lecture09
Lecture09Lecture09
Lecture09
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
uml.ppt
uml.pptuml.ppt
uml.ppt
 
Lecture10
Lecture10Lecture10
Lecture10
 
Lecture05
Lecture05Lecture05
Lecture05
 
Lecture05
Lecture05Lecture05
Lecture05
 
Lecture05
Lecture05Lecture05
Lecture05
 
Jar chapter 4, part 1
Jar chapter 4, part 1Jar chapter 4, part 1
Jar chapter 4, part 1
 
UML.pptx
UML.pptxUML.pptx
UML.pptx
 
Extending UML for Agents
Extending UML for AgentsExtending UML for Agents
Extending UML for Agents
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
Transaction handling in com, ejb and .net
Transaction handling in com, ejb and .netTransaction handling in com, ejb and .net
Transaction handling in com, ejb and .net
 
Lecture 13 requirements modeling - flow & behavior (2)
Lecture 13   requirements modeling - flow &  behavior (2)Lecture 13   requirements modeling - flow &  behavior (2)
Lecture 13 requirements modeling - flow & behavior (2)
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Lecture 4.pdf
Lecture 4.pdfLecture 4.pdf
Lecture 4.pdf
 
18540PhDreport.pdf
18540PhDreport.pdf18540PhDreport.pdf
18540PhDreport.pdf
 
Atm Simulator
Atm SimulatorAtm Simulator
Atm Simulator
 
Atm Simulator
Atm SimulatorAtm Simulator
Atm Simulator
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 

More from artgreen

Ce350 class project_spring2011_v1.5
Ce350 class project_spring2011_v1.5Ce350 class project_spring2011_v1.5
Ce350 class project_spring2011_v1.5artgreen
 
Lecture10.5
Lecture10.5Lecture10.5
Lecture10.5artgreen
 
Lecture08 examples
Lecture08 examplesLecture08 examples
Lecture08 examplesartgreen
 
Lecture07 examples
Lecture07 examplesLecture07 examples
Lecture07 examplesartgreen
 

More from artgreen (7)

Ce350 class project_spring2011_v1.5
Ce350 class project_spring2011_v1.5Ce350 class project_spring2011_v1.5
Ce350 class project_spring2011_v1.5
 
Lecture10.5
Lecture10.5Lecture10.5
Lecture10.5
 
Lecture08 examples
Lecture08 examplesLecture08 examples
Lecture08 examples
 
Lecture08
Lecture08Lecture08
Lecture08
 
Lecture07 examples
Lecture07 examplesLecture07 examples
Lecture07 examples
 
Lecture06
Lecture06Lecture06
Lecture06
 
Lecture01
Lecture01Lecture01
Lecture01
 

Recently uploaded

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Lecture07