... Sử dụng UML - Phân tích Use- Case
Dương Anh Đức 9/2000
10
Review: Use
Review: Use
-
-
Case Realization
Case Realization
Use- Case Model Design Model
Use Case Use- Case Realization
Sequence Diagrams
Collaboration ... dụng UML - Phân tích Use- Case
Dương Anh Đức 9/2000
49
Use
Use
-
-
Case Analysis Steps
Case Analysis Steps
z
Bổ sung các mô tả của Use- Case
z
Đ/v mỗi use- case realization
– Tìm các Class từ Use- Case ... actor /use
case
30
OOAD S dng UML - Phõn tớch Use- Case
Dng Anh c 9/2000
30
Caực bửụực thửùc hieọn phaõn tớch Use
Caực bửụực thửùc hieọn phaõn tớch Use
-
-
Case
Case
z
B sung cỏc mụ t ca Use- Case
z
/v...
... tác ổ ứ ươ
v i h th ng thông qua các ớ ệ ố
use case.
• Ví dụ:
Tìm hi u Usecase
Tìm hi u Usecase
Trong UML 2.0
Trong UML 2.0
Quan h gi a các use- case ữ
• Quan h m r ng ệ ở ộ
(extend).
• ...
Quan h gi a các use- case ữ
• Quan h bao g m ệ ồ
(include).
• Ví d :ụ
Tìm hi u Usecase
The end
Quan h gi a các use- case ữ
• Quan h t ng quát ệ ổ
hóa (generalization).
• Usecase A có
quan ...
Khái ni mệ
• A usecase is a case (or situation) where
your system is used to fulfill one or more
of your user's requirements; a usecase
captures a piece of functionality...
... trúc
Dương Anh Đức
6
Nhắc lại: Use- Case Realization
Class Diagrams
Sequence Diagrams
Use Case
Use- Case Model Design Model
Use Case Use- Case Realization
Collaboration Diagrams
PT & TK Hướng đối ... trúc
Dương Anh Đức
36
Bài tập: Use- Case Design, Part 1 (cont.)
w Produce the following for a particular use case:
§ Design use- case realization
• Interaction diagram(s) per use- case flow of
events that ... bước thiết kế Use- Case
và thời điểm thực hiện công đoạn này
w Kiểm định tính nhất quán trong cài đặt use-
case
w Tinh chỉnh use- case realizations có được từ
bước phân tích Use- Case dựa trên...
... right.
Regardless of who said it first, we like to apply this statement toUML modeling, because,
to be blunt, UML is way too big. A project trying to ingest all of UML into its working practices
resembles ... for events
like “user clicks Cancel button,” and how much better the use cases become when accompa-
nied by a UI storyboard.
Use Case Modeling
Use cases describe the way the user will interact ... the domain
model
Do some rapid
prototyping of the
proposed new syst em
Identify use cases, and
put them on use case
diagrams
Organize the use cases
logically into groups.
Capture t his information...
... beginning to identify use cases on our usecase diagram,
which shows all the scenarios that the system has to perform. Then we write the text
of our use cases. We refine the usecase text during ... described in case text because they represent how the system
will do things, as opposed to what the system will do.
Write the use cases too tersely.
When it comes to writing text for use cases, ... screen” and usecase controller,”
that lend themselves to discovering patterns connected touse cases. Looking ahead,
design patterns can be highly useful in the context of sequence diagrams and...
... trúc
Dương Anh Đức
36
Bài tập: Use- Case Design, Part 1 (cont.)
w Produce the following for a particular use case:
§ Design use- case realization
• Interaction diagram(s) per use- case flow of
events that ... bước thiết kế Use- Case
và thời điểm thực hiện công đoạn này
w Kiểm định tính nhất quán trong cài đặt use-
case
w Tinh chỉnh use- case realizations có được từ
bước phân tích Use- Case dựa trên ... tập: Use- Case Design, Part 1
w Thực hiện các việc sau:
§ Analysis use- case realizations (VOPCs and
interaction diagrams)
§ The analysis-class -to- design-element map
§ The analysis-class -to- analysis-mechanism...
... speed. The C2200A uses track and
cylinder skewing and sector-based sparing with one spare sector per track. This needs to be accounted for
in mapping logical blocks to the physical sectors.
Adding ... 97560
sector size 256 bytes 512 bytes
cylinders 1449 1962
tracks per cylinder 8 19
data sectors per track 113 72
number of zones 1 1
track skew 34 sectors 8 sectors
cylinder skew 43 sectors 18 sectors
revolution ... controller’s use.
So that flawed sectors are not used, references to them are remapped to other portions of the disk. This
process, known as sparing, is done at the granularity of single sectors or...
... Thiết kế kiến trúc
Dương Anh Đức
31
Use Case
Use- Case Realization
Sequence Diagrams
Collaboration Diagrams
Distribute Use- Case Behavior to Classes
w Đ/v mỗi use- case flow of events:
§ Xác định các ... Thiết kế kiến trúc
Dương Anh Đức
6
w Bổ sung Use- Case Description
w Với mỗi use- case realization
§ Tìm các Class từ Use- Case Behavior
§ Phân bổ Use- Case Behavior về các Class
w Với mỗi analysis ... kiến trúc
Dương Anh Đức
30
w Bổ sung các mô tả của Use- Case
w Đ/v mỗi use- case realization
§ Tìm các Class từ Use- Case Behavior
§ Phân bổ Use- Case Behavior cho các Class
w Đ/v mỗi analysis class...
... beginning to the end (for now)
No backing up to read something again (OK to start over)
Just as done from the keyboard
Writing to a file
Sending output to a file
Done from beginning to end ... fails, it is
generally best to stop the program
The function exit, halts a program
exit returns its argument to the operating system
exit causes program execution to stop
exit is NOT a member ... as Pearson Addison-Wesley
Why Use Files?
Files allow you to store data permanently!
Data output to a file lasts after the program ends
An input file can be used over and over
No typing...