SlideShare ist ein Scribd-Unternehmen logo
1 von 74
UML  Use of UML Diagrams as an aid to Database Design Specification
Overview ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Modeling ,[object Object],[object Object],[object Object],[object Object]
Object Oriented Modeling
What is UML? ,[object Object],[object Object],[object Object],[object Object]
Why UML for Modeling ,[object Object],[object Object],[object Object],[object Object]
History of UML
Types of UML Diagrams ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Use Case Diagram ,[object Object],[object Object],[object Object]
Use Case Diagram (core components) Actors:   A role that a user plays with respect to the system,including human users and other systems. e.g.,inanimate physical objects (e.g. robot); an external system that needs some information from the current system. Use case:   A set of scenarios that describing an interaction  between a user and a system, including alternatives .   System boundary :  rectangle diagram representing the boundary between the actors and the system.
Use Case Diagram(core relationship) Association:   communication between an actor and a use case; Represented by a solid line.  Generalization : relationship between one general use case and a special use case (used for defining special alternatives) Represented by a line with a triangular arrow head toward the parent use case.
Use Case Diagram(core relationship) Extend :  a dotted line labeled <<extend>>  with an arrow toward the base case.   The extending use case may add behavior to the base use case. The base class declares “extension points”. <<extend>>  Include :  a dotted line labeled <<include>> beginning at base use case and ending with an arrows pointing to the include use case.  The include relationship occurs when a chunk of behavior is similar across more than one use case. Use “include” instead of copying the description of that behavior.  <<include>>
Use Case Diagrams Library System Borrow Order Title Fine Remittance Client Employee Supervisor ,[object Object],[object Object],Boundary Actor Use Case
Class diagram ,[object Object],[object Object],[object Object],[object Object]
Class representation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
OO Relationships ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Subtype2 Supertype Subtype1 OO Relationships:   Generalization - Generalization expresses a parent/child relationship among related classes.  - Used for abstracting details in several layers Regular  Customer Loyalty Customer Customer Example: Regular  Customer Loyalty Customer Customer or:
OO Relationships:  Association ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Association: Multiplicity and Roles University Person 1 0..1 * * Multiplicity Symbol Meaning 1 One and only one 0..1 Zero or one M..N From M to N (natural language) * From zero to any positive integer 0..* From zero to any positive integer 1..* From one to any positive integer teacher employer Role Role “ A given university groups many people; some act as students, others as teachers.  A given student belongs to a single university; a given teacher may or may not be working for the university at a particular time.” student
OO Relationships:   Composition Class W Class   P 1 Class   P 2  Composition:  expresses a relationship among instances  of related classes.  It is a specific  kind of Whole-Part   relationship.  It expresses a relationship where an instance of the  Whole-class has the responsibility to  create and initialize  instances  of each Part-class.  It may also be used to express a relationship where instances of the Part-classes have  privileged access or visibility  to certain attributes and/or behaviors defined by the Whole-class.  Composition should also be used to express relationship where   instances of the Whole-class have exclusive access to and  control of instances of the Part-classes . Composition should be used to express a relationship where the behavior of Part instances is undefined without being related to an instance of the Whole.  And, conversely,  the behavior of the Whole is ill-defined or incomplete if one or  more of the Part instances are undefined. Whole Class Part Classes Example [From Dr.David A. Workman] Automobile Engine Transmission
OO Relationships:  Aggregation Class   C Class E 1 Class E 2   AGGREGATION Aggregation:  expresses a relationship among instances  of related classes.  It is a specific  kind of Container-Containee  relationship.  It expresses a relationship where an instance of the  Container-class has the responsibility to  hold and maintain instances  of each Containee-class that have been created outside the auspices of the Container-class.  Aggregation should be used to express a more informal relationship than composition expresses.  That is, it is an appropriate relationship where the  Container and its  Containees   can be manipulated independently. Aggregation is appropriate when  Container and Containees  have no special access privileges to each other. Container Class Containee Classes Bag Apples Milk   Example [From Dr.David A. Workman]
Aggregation vs. Composition ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sequence Diagram:Object interaction Self-Call : A message that an  Object sends to itself. Condition:  indicates when a message is sent. The message is sent only if the condition is true. Iteration Condition A B Synchronous Asynchronous Transmission  delayed Self-Call [condition]  remove() *[for each] remove()
Sequence Diagrams – Object Life Spans ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Activation bar A B Create X Deletion Return Lifeline
Sequence Diagram ,[object Object],[object Object],[object Object],[object Object],Message
  Interaction Diagrams: Collaboration diagrams User Catalog Reservations start 1: look up 2: title data 3 : [not available] reserve title 4 : title returned 5 : hold title 6 : borrow title 6: remove reservation 5: title available ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
State Diagrams State Diagrams show the sequences of states an object goes through during its life cycle in response to stimuli, together with its responses and actions; an abstraction of all possible behaviors. Unpaid Start End Paid Invoice  created paying Invoice destroying
[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation [ USE CASE]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Hotel Reservation  [ Analysis Class Diagram ]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Hotel Reservation  [ Analysis Class Diagram ] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[Statecharts] ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[Statecharts]
Activity Diagram ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Continuation….
Uml report
Uml report
Uml report
Uml report
Uml report
Uml report
Uml report
Uml report

Weitere ähnliche Inhalte

Was ist angesagt?

Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)
Gajeshwar Bahekar
 
Mvc pattern and implementation in java fair
Mvc   pattern   and implementation   in   java fairMvc   pattern   and implementation   in   java fair
Mvc pattern and implementation in java fair
Tech_MX
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
CherryBerry2
 

Was ist angesagt? (20)

Use Case diagram-UML diagram-1
Use Case diagram-UML diagram-1Use Case diagram-UML diagram-1
Use Case diagram-UML diagram-1
 
The Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram TutorialThe Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram Tutorial
 
Object diagram
Object diagramObject diagram
Object diagram
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Uml with detail
Uml with detailUml with detail
Uml with detail
 
Collaboration Diagram
Collaboration DiagramCollaboration Diagram
Collaboration Diagram
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
Lecture04- Use Case Diagrams
Lecture04- Use Case DiagramsLecture04- Use Case Diagrams
Lecture04- Use Case Diagrams
 
UML- Unified Modeling Language
UML- Unified Modeling LanguageUML- Unified Modeling Language
UML- Unified Modeling Language
 
Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)Darshan sem4 140703_ooad_2014 (diagrams)
Darshan sem4 140703_ooad_2014 (diagrams)
 
Activity Diagram Examples by Creately
Activity Diagram Examples by Creately Activity Diagram Examples by Creately
Activity Diagram Examples by Creately
 
Uml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot netUml class diagram and packages ppt for dot net
Uml class diagram and packages ppt for dot net
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Deployment Diagram
Deployment DiagramDeployment Diagram
Deployment Diagram
 
Mvc pattern and implementation in java fair
Mvc   pattern   and implementation   in   java fairMvc   pattern   and implementation   in   java fair
Mvc pattern and implementation in java fair
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Composite Structure Diagram
Composite Structure DiagramComposite Structure Diagram
Composite Structure Diagram
 
Use case Diagram
Use case Diagram Use case Diagram
Use case Diagram
 
UML
UMLUML
UML
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 

Andere mochten auch

Andere mochten auch (19)

Chapter02
Chapter02Chapter02
Chapter02
 
Chapter06
Chapter06Chapter06
Chapter06
 
Sadcw 6e chapter6
Sadcw 6e chapter6Sadcw 6e chapter6
Sadcw 6e chapter6
 
10 si(systems analysis and design )
10 si(systems analysis and design )10 si(systems analysis and design )
10 si(systems analysis and design )
 
Sadcw 6e chapter8
Sadcw 6e chapter8Sadcw 6e chapter8
Sadcw 6e chapter8
 
Chapter05
Chapter05Chapter05
Chapter05
 
Chapter01
Chapter01Chapter01
Chapter01
 
Chapter03
Chapter03Chapter03
Chapter03
 
07 si(systems analysis and design )
07 si(systems analysis and design )07 si(systems analysis and design )
07 si(systems analysis and design )
 
Sadcw 6e chapter1
Sadcw 6e chapter1Sadcw 6e chapter1
Sadcw 6e chapter1
 
Chapter04
Chapter04Chapter04
Chapter04
 
System Analysis and Design 6th edition chapter 14
System Analysis and Design 6th edition chapter 14System Analysis and Design 6th edition chapter 14
System Analysis and Design 6th edition chapter 14
 
Sadcw 6e chapter7
Sadcw 6e chapter7Sadcw 6e chapter7
Sadcw 6e chapter7
 
Sadcw 6e chapter9
Sadcw 6e chapter9Sadcw 6e chapter9
Sadcw 6e chapter9
 
Pertemuan 5 optimasi_dengan_alternatif_terbatas_-_lengkap
Pertemuan 5 optimasi_dengan_alternatif_terbatas_-_lengkapPertemuan 5 optimasi_dengan_alternatif_terbatas_-_lengkap
Pertemuan 5 optimasi_dengan_alternatif_terbatas_-_lengkap
 
06 si(systems analysis and design )
06 si(systems analysis and design )06 si(systems analysis and design )
06 si(systems analysis and design )
 
Ds sn is-01
Ds sn is-01Ds sn is-01
Ds sn is-01
 
Ds sn is-02
Ds sn is-02Ds sn is-02
Ds sn is-02
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 

Ähnlich wie Uml report

UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejeUML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
ssusera6a60c1
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
Ricardo Quintero
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
Sisir Ghosh
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
babak danyal
 

Ähnlich wie Uml report (20)

UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejnejeUML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
UML_Lecture.pptxnd bfdjjrnekdddkeeeenekejneje
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 
Uml lecture
Uml lectureUml lecture
Uml lecture
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
UML Diagrams
UML DiagramsUML Diagrams
UML Diagrams
 
UML, ER and Dimensional Modelling
UML, ER and Dimensional ModellingUML, ER and Dimensional Modelling
UML, ER and Dimensional Modelling
 
2 class use case
2 class use case2 class use case
2 class use case
 
Umldiagram
UmldiagramUmldiagram
Umldiagram
 
Intro to UML 2
Intro to UML 2Intro to UML 2
Intro to UML 2
 
OOSE UNIT-2.pdf
OOSE UNIT-2.pdfOOSE UNIT-2.pdf
OOSE UNIT-2.pdf
 
Intro Uml
Intro UmlIntro Uml
Intro Uml
 
uml2-1214558329929112-8.ppt
uml2-1214558329929112-8.pptuml2-1214558329929112-8.ppt
uml2-1214558329929112-8.ppt
 
Uml
UmlUml
Uml
 
Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5Uml Omg Fundamental Certification 5
Uml Omg Fundamental Certification 5
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
 
Css uml
Css umlCss uml
Css uml
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
UML Training for Business Analysts
UML Training for Business AnalystsUML Training for Business Analysts
UML Training for Business Analysts
 
4. UML
4. UML4. UML
4. UML
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Uml report

  • 1. UML Use of UML Diagrams as an aid to Database Design Specification
  • 2.
  • 3.
  • 5.
  • 6.
  • 8.
  • 9.
  • 10. Use Case Diagram (core components) Actors: A role that a user plays with respect to the system,including human users and other systems. e.g.,inanimate physical objects (e.g. robot); an external system that needs some information from the current system. Use case: A set of scenarios that describing an interaction between a user and a system, including alternatives . System boundary : rectangle diagram representing the boundary between the actors and the system.
  • 11. Use Case Diagram(core relationship) Association: communication between an actor and a use case; Represented by a solid line. Generalization : relationship between one general use case and a special use case (used for defining special alternatives) Represented by a line with a triangular arrow head toward the parent use case.
  • 12. Use Case Diagram(core relationship) Extend : a dotted line labeled <<extend>> with an arrow toward the base case. The extending use case may add behavior to the base use case. The base class declares “extension points”. <<extend>> Include : a dotted line labeled <<include>> beginning at base use case and ending with an arrows pointing to the include use case. The include relationship occurs when a chunk of behavior is similar across more than one use case. Use “include” instead of copying the description of that behavior. <<include>>
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. Subtype2 Supertype Subtype1 OO Relationships: Generalization - Generalization expresses a parent/child relationship among related classes. - Used for abstracting details in several layers Regular Customer Loyalty Customer Customer Example: Regular Customer Loyalty Customer Customer or:
  • 18.
  • 19. Association: Multiplicity and Roles University Person 1 0..1 * * Multiplicity Symbol Meaning 1 One and only one 0..1 Zero or one M..N From M to N (natural language) * From zero to any positive integer 0..* From zero to any positive integer 1..* From one to any positive integer teacher employer Role Role “ A given university groups many people; some act as students, others as teachers. A given student belongs to a single university; a given teacher may or may not be working for the university at a particular time.” student
  • 20. OO Relationships: Composition Class W Class P 1 Class P 2 Composition: expresses a relationship among instances of related classes. It is a specific kind of Whole-Part relationship. It expresses a relationship where an instance of the Whole-class has the responsibility to create and initialize instances of each Part-class. It may also be used to express a relationship where instances of the Part-classes have privileged access or visibility to certain attributes and/or behaviors defined by the Whole-class. Composition should also be used to express relationship where instances of the Whole-class have exclusive access to and control of instances of the Part-classes . Composition should be used to express a relationship where the behavior of Part instances is undefined without being related to an instance of the Whole. And, conversely, the behavior of the Whole is ill-defined or incomplete if one or more of the Part instances are undefined. Whole Class Part Classes Example [From Dr.David A. Workman] Automobile Engine Transmission
  • 21. OO Relationships: Aggregation Class C Class E 1 Class E 2 AGGREGATION Aggregation: expresses a relationship among instances of related classes. It is a specific kind of Container-Containee relationship. It expresses a relationship where an instance of the Container-class has the responsibility to hold and maintain instances of each Containee-class that have been created outside the auspices of the Container-class. Aggregation should be used to express a more informal relationship than composition expresses. That is, it is an appropriate relationship where the Container and its Containees can be manipulated independently. Aggregation is appropriate when Container and Containees have no special access privileges to each other. Container Class Containee Classes Bag Apples Milk Example [From Dr.David A. Workman]
  • 22.
  • 23. Sequence Diagram:Object interaction Self-Call : A message that an Object sends to itself. Condition: indicates when a message is sent. The message is sent only if the condition is true. Iteration Condition A B Synchronous Asynchronous Transmission delayed Self-Call [condition] remove() *[for each] remove()
  • 24.
  • 25.
  • 26.
  • 27. State Diagrams State Diagrams show the sequences of states an object goes through during its life cycle in response to stimuli, together with its responses and actions; an abstraction of all possible behaviors. Unpaid Start End Paid Invoice created paying Invoice destroying
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. Hotel Reservation [ USE CASE]
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.

Hinweis der Redaktion

  1. Introduce myself
  2. Overview of my presentation: - Essence of modeling, UML, history of UML, Basics of UML, UML modeling tools
  3. 1. Describing the system at abstract level to comprehend its complexity 2. Necessary to manage complexity Good for quick understanding of the systems Less chances of conflicting views b/w end-user and system designers
  4. Evolution of analysis and design techniques Transition from structured programming to object oriented programming
  5. . What does UML stand for? . Industry standard . Graphical notation . Modeling tool … simplifies software design process
  6. . More precise than natural language … less detailed than source code . Not dependent on any language . Standardized by various groups
  7. History: - Rumbaugh – OMT – object modeling technique Jacobson – OOSE UML … unified approach since 1995 UML 1.5 current … UML 2.0 by the end of 2004