SAAD Lab 2
SAAD Lab 2
SAAD Lab 2
Lab 2
System Development Life Cycle (SDLC)
• Requirements Collection
• Requirements Analysis
• System Design
• System Development
• System Testing
• System Deployment
• System Maintenance
?System Modeling – How
Business
Requirements Model Code
Needs
?What is UML
• The Unified Modeling Language (UML) is a standard
language for specifying, visualizing, constructing, and
documenting the artifacts of software systems
UML DIAGRAMS
• Business Use Case diagram
• Use Case diagram
• Activity diagram
• Sequence diagram
• Collaboration diagram
• Class diagram
• Statechart diagram
• Component diagram
• Deployment diagram
Browser
Diagram
window
Diagram
toolbar
Documentation
Window
docked/floating
* Locked and unlocked modes of icons
** Customizing the tool bar
Rational Rose
Views
Diagrams
Use Case Diagram
Actor
• Time
▪ Time becomes an actor when the passing of a certain amount of time
triggers some event in the system (out of control)
Elements of Use Case Diagram
Use Case
• Use Case diagrams aren't intended to show in which order the use
cases are executed
Use Case
. cont
• So, when you have the final list of use cases, how do you
know if you've found them all?
- Is each functional requirement in at least one use case? If a
requirement is not in a use case, it will not be implemented.
- Have you considered how each end user will be using the system?
- What information will each end user be providing for the system?
- What information will each end user be receiving from the system?
- Have you identified all of the external systems with which the system
will need to interact?
- What information will each external system be providing to the system
and receiving from the system?
Elements of Use Case Diagram
Relationships
• The association relationship is used to show the
relationship between a use case and an actor only
Relationships: Association
• Association relationship is used to show the relationship
between a use case and an actor only
Relationships: Includes
• Includes relationship allows one use case to use the functionality
provided by another use case
• This relationship can be used in one of two cases:
• First, if two or more use cases have a large piece of functionality that is
identical
•The second case where an includes relationship is helpful is a situation in
which a single use case has an unusually large amount of functionality
• An includes relationship suggests that one use case always uses the
functionality provided by another
<<includes>>
Relationships: Extends
• Extends relationship allows one use case the option to extend the
functionality provided by another use case
While the "Change Reservation" use case is running, "Check Credit" runs if and only if the
amount of the reservation has changed. If the amount has not changed, "Check Credit"
does not need to run
The arrow is drawn from the use case that is optionally run ("Check Credit") to the use
case that is being extended ("Change Reservation")
Elements of Use Case Diagram
Relationships: Generalization
• Generalization relationship is used to show that several
actors
• We can’t create a use case with a vague name like “enter data in
database”, “choose” , “save data” or “manage data”
>>extends<<
Search by name
>>extends<<
Search
Search by ID
>>extends<<
…… Search by
Use Case VS Business Use Case