Quiz 7 Flashcards
An SD describes
Only the interactions between objects; it does not describe what happens inside of an object.
When an object A creates another object B ___
A create dependency exists between A and B
What does a dependency relationship represent?
A transient relationship between class objects
If an object of class A is passed in as a parameter to a method defined in class B
A dependency exists between A and B
What does a lifeline in an SD represent?
An instance of a class
What does an alt fragment represent?
Alternative interactions
What does a par fragment represent?
Groups of interactions that can occur in parallel
What does an opt fragment represent?
A conditional interaction
Association
- Link between objects
- Have at least two ends
- Must have multiplicities at each end
- Must have either a name or role names at the ends
What does an object have to do if it sends a synchronous message?
Wait for a response
Subsystem Design
- describes the internal detail of a design
- can commence after the subsystem interfaces are defines
- describes how a subsystem discharges its responsibilities
- can consist of class diagrams and interaction diagrams that describe the inner workings of the subsystem
What type of modeling are interaction diagrams used for?
Dynamic
What is illustrated in UML Class diagrams?
Classes, interfaces, dependencies, associations
Types of interaction diagrams
Sequence diagram and communication diagram
Communication diagrams work well for:
- UML as a sketch
- Formal modeling
- the agile modeling environment