Behavioural Design Modelling Flashcards
What is Behavioural Modeling?
Behavioural Modeling is done in the design model to discover and assign responsibilities to structural elements
What does Behavioral Modeling describes?
It describes how objects interact with each other at runtime to fulfil their responsibilities
List Behavioural Diagrams
Interaction Diagrams
Activity Diagrams
State Machine Diagrams
What is Interaction Diagram?
Interaction Diagram is a category of diagrams that show how objects interact with each other at runtime
List Interaction Diagrams
Sequence Diagrams
Communication Diagrams
Interaction Overview Diagrams
Timing Diagrams
What diagrams are semantically equivalent?
Sequence Diagrams and Communication Diagrams
Sequence Diagram is divided into what?
Sequence Diagram is divided into lifelines
What is Focus of Control?
Shows a period of time in which an object is performing an action
How do objects collaborate within diagram?
Collaborate through messages
Types of messages in Sequence Diagrams?
Regular Messages
Special Messages
What are Regular Messages?
Regular messages represent a directional communication from a client to a supplier
What are Special Messages?
Create and Destroy messages represents the creation or destruction of an object
Return Messages specify return information being provided back to the client
What are interaction operands?
They represent a region in the combined fragment
What are Interaction Constraints?
Represent a guard that determine the control path taken
Types of Combined Fragments?
OPT ALT LOOP PAR CRITICAL
What is OPT?
Optional fragment that executes if the specified guard is true
What is ALT?
Alternative that defines mutually exclusive options conditional logic expressed through guards
What is LOOP?
Fragment that repeats while the guard is true or for a given number of times specified
What is PAR?
Fragments that can execute in parallel
What is Critical?
Defines a critical region that cannot be interleaved with other messages from parallel fragments for example
What is Interaction Use?
Interaction use defines a reference to an existing sequence diagram
What are Gates?
Gates are used to allow the communication of messages between sequence diagrams