Title: Presenter: Away
1??2??????????? 2-3 ????????
2Outline
- Introduction
- Analysis model
- Object Model
- Dynamic Model
- Analysis activities
- Identifying entity objects
- Identifying boundary objects
- Identifying control objects
- Mapping use cases to sequence diagram
- Modeling interactions among objects with class
diagram
2
3Software life cycle
Software life cycle
Development cycle
Design
Implementation
Testing
Requirements Engineering
Requirements Elicitation
System design
Object design
Analysis
Use Cases
Problem statement
Analysis Model
Maintenance
3
4Requirements engineering
Problem statement
Requirements elicitation
Requirements
Specification
Nonfunctional requirements
Function model (Use case)
Analysis
Analysis Model
Object model
Dynamic model
4
5Analysis model
Items Models Purpose Representation
Object model Specifying properties and relationship of individual concepts that are manipulated by the system. (???????????) Class diagrams
Dynamic model Representing the behaviors and interactions among a set of objects. (????????????) Sequence diagrams
5
6Object model
- The object model consists of
- Entity objects
- Representing the persistent information tracked
by the system. - (??????????)
- Boundary objects
- Representing the system interface with the
actors. - (???????????)
- Control objects
- Control objects are responsible for coordinating
boundary and entity objects. (entity object
?boundary object ???object) - Modeling interactions among objects with class
diagrams. (class diagram ???object??????)
6
7Dynamic model
- Sequence diagrams represent the interactions
among a set of objects from object model during a
single use case. - (?????????(??????) )
- ????????use case
7
8Analysis activities
Use Cases
Analysis
Analysis Model
Identifying entity objects
Object model
Identifying boundary objects
Class diagrams
Identifying control objects
Mapping use cases to sequence diagram
Dynamic model
Modeling interactions among objects with class
diagram
Sequence diagrams
8
9Use case (input)
Use case name ????
Participating actors Initiated by ??
Flow of events ???????. ?????????(50??), ?????(2000??), ????(????). ???????????,?????, ????????. ????, ???????.
Exceptions 3.1 ???????????, ???????????.
Entry condition ?????????.
Exit conditions ?????????????????.
9
10Heuristics for identifying entity objects
- Terms that developers or users need to clarify in
order to understand the use case.(?????use case) - Recurring nouns in the use case.(????)
- Real-world entities that the system needs to
track.(??????) - Real-world activities that the system needs to
track.(??????/??) - Data sources or sinks.(??)
- Recurring Adjective in the use case , it is
Attribute of object(??)
10
11Identifying Entity Object (found out the class
name)
Use case name ????
Participating actors Initiated by ??
Flow of events ???????. ?????????(50??), ?????(2000??), ????(????). ???????????,?????, ????????. ????, ???????.
Exceptions 3.1 ???????????, ???????????.
Entry condition ?????????.
Exit conditions ?????????????????.
??
??
??
11
12Identifying Entity Object (found out the
attribute)
Use case name ????
Participating actors Initiated by ??
Flow of events ???????. ?????????(50??), ?????(2000??), ????(????). ???????????,?????, ????????. ????, ???????.
Exceptions 3.1 ???????????, ???????????.
Entry condition ?????????.
Exit conditions ?????????????????.
??
?? ???? ????
12
13Heuristics for identifying boundary objects
- Identity user interface controls that the user
needs to initiate the use case. (user?????use
case) - Identity forms the user needs to enter data into
the system. (??????????) - Identity notices and message the system uses to
respond to the user. (user ???????)
13
14Heuristics for identifying control objects
- Identity one control object per use case.
- (?use case ?????control object)
- Identity one control object per actor in the use
case. - (?actor ?????control object)
14
15Heuristics for drawing sequence diagrams
- The first column should correspond to the actor
who initiated the use case.(????actor) - The second column should be a boundary object
(that the actor used to initiate the use
case).(????boundary object) - The third column should be the control object
that manages the rest of the use
case.(????control object) - Control objects are created by boundary objects
initiating use cases. (control object
??boundary???) - Boundary objects are accessed by control objects.
(boundary object ???control object) - Entity objects are accessed by control and
boundary objects. (entity object ??control object
?boundary object??)
15
16Sequence diagram(1)
actor
boundary object
control object
Entity objects
DD Entity
AA Form
CC Entity
BB Control
16
17Sequence diagram(2)
UML sequence diagram for AnnounceTournament,
tournament creation workflow
- ???????.
- ?????????(50??), ?????(2000??), ????(????).
- ???????????,?????, ????????.
- ????, ???????.
????Form
??
????()
???? Control
new
??(??,??, ????)
??(..)
new
??
17
18Fill the operation to class diagram
??
?? ???? ????
????Control
??()
????Form
????() ??(.)
CreateAssignmentControl
check()
Assignment
name context Due date
CreateAssignmentForm
createAssignment() set(.)
18
19Exercise
- ??Ch.4 ???????????use case ??. ??class diagram
sequence diagram.
19