Skip to content

Pre Recorded Lecture Module 4#

Relating use cases#

Pasted image 20220307222843.png
Includes invokes a new use case
Extends tries to relate an exception
Pasted image 20220307223036.png
In the above example we can see that Rent items extends Sale Items

Derived Attributes#

  • During analysis step, analyst only records very obvious attributes
  • During design phase there are more refined attributes that can be derived from another attribute
    Pasted image 20220307224039.png

Interaction Diagram#

Interaction diagrams show relationship between objects, hence we see only objects interacting in the diagram (Anonymous or named objects) and no classes.

Collaboration Diagram#

Pasted image 20220307230459.png
- When few messages are involved then we can use a collaboration diagram
- Having many objects then collaboration diagram is a better way to go

Sequence Diagram#

Pasted image 20220307230712.png
- When the number of messages are a lot and there is a sequence of messages then it is better to use sequence diagrams.
- Only limitation is that a lot of objects cannot be placed horizontally.

Self or this relation in messages#

Pasted image 20220307235931.png

Creation of instances#

  • In a collaboration diagram
    Pasted image 20220308000110.png
  • In a sequence diagram
    Pasted image 20220308000232.png

Condition Messages#

Pasted image 20220308000357.png
Pasted image 20220308000733.png
Pasted image 20220308000743.png

Iterations#

Pasted image 20220308000816.png

Make Payment Scenario in PoS#

Pasted image 20220308001841.png
Pasted image 20220308001949.png

State Transition Diagrams#


Tags: !OOADIndex