Presentation is loading. Please wait.

Presentation is loading. Please wait.

OOAD (part 2) diagrams CSCI577a TAs: Alexey. Outline UML diagrams: – Use case diagrams – Robustness diagrams – Sequence diagrams – Artifacts diagrams.

Similar presentations


Presentation on theme: "OOAD (part 2) diagrams CSCI577a TAs: Alexey. Outline UML diagrams: – Use case diagrams – Robustness diagrams – Sequence diagrams – Artifacts diagrams."— Presentation transcript:

1 OOAD (part 2) diagrams CSCI577a TAs: Alexey

2 Outline UML diagrams: – Use case diagrams – Robustness diagrams – Sequence diagrams – Artifacts diagrams ER diagram

3 UML diagram relationships (in structural models: use case, robustness class diagrams) Relationship types / link types: – Association – one object uses/associates with another object – Composition– one object uses/associates with another object and controls its life cycle. – Generalization – inheritance: e.g. class - super class.

4 Examples: WinBook Use Case diagram (all use cases)

5 Common mistakes: – To many details – Functionality expressed in an implementation specific way – Functions of the system are not viewed from the perspective of the actors.

6 Examples: Robustness diagram: Add win-condition

7 Common mistakes: – Control flow is not marked – Covers multiple use cases in one diagram – good practice is to draw different diagrams. – Rainy day scenarios are not covered What can go wrong on the previous diagram? Examples: Robustness diagram: Add win-condition

8 Examples: Sequence diagram: Add win-condition

9 Examples: Sequence diagram: Add win-condition (full)

10 Artifact diagram: – is the specification of a physical piece of information that is used or produced by a software components Deployment diagram – represent the assignment of software artifacts to deployment targets (e.g. servers, distributions, DBs) Artifact diagram

11 Examples: Artifact diagram & Deployment diagram

12 Entity–Relationship model is a data model for describing the data of a business domain in an abstract way that can be implemented in a relational database. – Entities – Relationships ER-diagram

13 Refferences https://en.wikipedia.org/wiki/Artifact_%28U ML%29 https://en.wikipedia.org/wiki/Artifact_%28U ML%29


Download ppt "OOAD (part 2) diagrams CSCI577a TAs: Alexey. Outline UML diagrams: – Use case diagrams – Robustness diagrams – Sequence diagrams – Artifacts diagrams."

Similar presentations


Ads by Google