1. Trang chủ
  2. » Giáo Dục - Đào Tạo

Week 7 đánh giá giai đoạn i project các nhóm bài đọc thêm; collaboration diagram, communication diagram sequence diagram 1 (2)

32 3 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Collaboration Diagrams
Tác giả Dumitru Radoiu
Trường học Pet Ru M Ai Or University
Chuyên ngành Object-Oriented World
Thể loại Essay
Năm xuất bản 2009
Định dạng
Số trang 32
Dung lượng 253,38 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Object-Oriented Worldtime Create the vocabulary Give vocabulary Program the model vocabulary ocabu a y behavior model the system ode Understand System Usage Use Case Diagram Identify Cla

Trang 2

Object-Oriented World

time

Create the vocabulary

Give vocabulary

Program the model

vocabulary ocabu a y

behavior (model the system)

ode

Understand System Usage Use Case Diagram

Identify Classes High Level Class Diagram

9 9

Identify Classes High Level Class Diagram

Define Workflows Activity Diagram

9 9

Trang 3

Use Case Model

diagnose car

drive car

Car owner

Trang 4

Use case

di Mechanic

diagnose car

Trang 5

High Level Class Diagram

fixes>

Trang 6

Activity Diagram

Start

Name of State Turn Off Diagnosis

Diagnosis equipment problem [error]

Name of State Display Error

Car electronic

Name of State Turn On Diagnosis [valid]

[error]

Car electronic problem Name of StateTurn On Car[error]

[valid]

Name of State Turn Off Car

Name of State

Diagnose

Name of State

Fix Problem

Trang 7

Object-Oriented World

time

Create the vocabulary

Give vocabulary

Program the model

vocabulary ocabu a y

behavior (model the system)

ode

Identify interactions among objects Sequence and Collaboration Diagrams

l h

9 9

Analyze state changes Sate Diagrams

Refine class diagrams Class Diagrams 9

Trang 10

High Level Class Diagram

:Diagnosis

:Car :Mechanic

:Mechanic

0 1

Trang 12

Collaboration Diagram

:Diagnosis

:Car :Mechanic

4: Diagnose()

:Mechanic

Trang 14

Object

Object : Class

:Class

Trang 16

…to depict relationships between objects

<<local>> <<parameter>>

con:DatabaseConnection

InventoryApp has a <<local>> variable which accepts a

<<parameter>>, a location instance

Trang 21

Guard Conditions

1:Compile(Project)

:FileSystem

1:Compile(Project)3a:NotifyOfSuccess[Project Loaded]

:Compiler:Editor

:ErrorDialog

Trang 23

Iterations (repeating processes)

Trang 24

Iterations (repeating processes)

Loop through each grade

Calculate GPA

1.* [1 N]: GPA+=Grade[ ]2: GPA=GPA/Count(Grades)

*

Trang 26

Model a Collaboration Diagram: Case Study

1 Identify the elements that belong in your diagram

2 Model the relationships between these elements

3 Model the instance level diagram

Trang 27

distribute Use Case Model

record grades <<include>>

electronically

save grades upgrade grades

Student

Trang 28

uses

Trang 29

Identify the elements

Domain Classes Control Classes Interface Class

Trang 30

2 Model the Relationships Between these Elements

:Teacher

:Securityuses >

Trang 31

3 Model an Instance-Level Diagram

1:Logon(UID PWD) 1.1:Validate(UID,PWD)1 2 [ ] Di l M ()

:SecurityWebSite

:Teacher

1:Logon(UID,PWD)2:[menu displayed] LoadStudent(Name)

1.2a:[pass] DisplayMenu()1.2b:[fail] Logout()

:SecurityWebSite

:Teacher

: Student<<new>> :Database

2.2:LoadStudentInfo(Name): Student<<new>>

:Grade

Ngày đăng: 14/10/2022, 16:07

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w