Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Systems analysis and design with UML (3/e) - Chapter 9: Class and method design
tailieunhanh - Lecture Systems analysis and design with UML (3/e) - Chapter 9: Class and method design
This chapter presents a set of criteria, activities, and techniques used to design classes and methods. Together they are used to ensure the object-oriented design communicates how the system needs to be coded. | Chapter 9: Class and Method Design Objectives Become familiar with coupling, cohesion, and connascence. Be able to specify, restructure, and optimize object designs. Be able to identify the reuse of predefined classes, libraries, frameworks, and components. Be able to specify constraints and contracts. Be able to create a method specification. BASIC CHARACTERISTICS OF OBJECT ORIENTATION Elements of OOSAD Classes Objects Attributes States Methods Messages Encapsulation & Info Hiding Hiding the content of the object from outside view Communication only through object’s methods Key to reusability Polymorphism & Dynamic Binding Same message triggers different methods in different objects Dynamic binding means specific method is selected at run time Implementation of dynamic binding is language specific Need to be very careful about run time errors Need to ensure semantic consistency Polymorphism Example Inheritance Single inheritance -- one parent class Multiple inheritance -- multiple . | Chapter 9: Class and Method Design Objectives Become familiar with coupling, cohesion, and connascence. Be able to specify, restructure, and optimize object designs. Be able to identify the reuse of predefined classes, libraries, frameworks, and components. Be able to specify constraints and contracts. Be able to create a method specification. BASIC CHARACTERISTICS OF OBJECT ORIENTATION Elements of OOSAD Classes Objects Attributes States Methods Messages Encapsulation & Info Hiding Hiding the content of the object from outside view Communication only through object’s methods Key to reusability Polymorphism & Dynamic Binding Same message triggers different methods in different objects Dynamic binding means specific method is selected at run time Implementation of dynamic binding is language specific Need to be very careful about run time errors Need to ensure semantic consistency Polymorphism Example Inheritance Single inheritance -- one parent class Multiple inheritance -- multiple parent classes Redefinition and inheritance conflict Most inheritance conflicts are due to poor classification Rumbaugh’s Rules Query operations should not be redefined Methods that redefine inherited ones should only restrict the semantics of the inherited ones The underlying semantics of the inherited method should never be changed The signature (argument list) of the inherited method should never be changed DESIGN CRITERIA Coupling Interdependency among modules Interaction coupling through message passing Law of Demeter Messages should be sent only by an object: to itself to objects contained in attributes of itself or a superclass to an object that is passed as a parameter to the method to an object that is created by the method to an object that is stored in a global variable Types of Interactive Coupling Cohesion “Single-mindedness of a module” Method cohesion Class cohesion Types of Method Cohesion Types of Class Cohesion Connascence Creating the need to change another module
Bích Hồng
68
36
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Lecture Introduction to systems analysis and design: Chapter 4 - Whitten, Bentley
40
112
0
Lecture Accounting information systems - Chapter 20: Introduction to systems development and systems analysis
16
91
1
Lecture Systems analysis and design with UML (3/e) - Chapter 1: Introduction to systems analysis and design
38
98
0
Lecture Introduction to systems analysis and design: Chapter 9 - Whitten, Bentley
47
90
0
Lecture Introduction to systems analysis and design: Chapter 10 - Whitten, Bentley
39
107
0
Lecture Systems analysis and design with UML (3/e) - Chapter 1: Introduction to systems analysis and design
38
93
0
Lecture Introduction to systems analysis and design: Chapter 2 - Whitten, Bentley
46
104
0
Lecture Introduction to systems analysis and design: Chapter 11 - Whitten, Bentley
33
111
0
Lecture Introduction to systems analysis and design: Chapter 18 - Whitten, Bentley
20
94
0
Lecture Accounting information systems (13/e) – Chapter 20: Introduction to systems development and systems analysis
13
92
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461874
55
Giới thiệu :Lập trình mã nguồn mở
14
22695
61
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10902
530
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10073
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9537
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8295
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8244
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7866
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6698
253
Vật lý hạt cơ bản (1)
29
5779
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Systems analysis
Analysis modeling
Design modeling
Object orientation
Design criteria
Object design activities
Information systems
Systems design
Introduction to systems analysis and design
Model driven analysis
Accounting information systems
Hệ thống thông tin kế toán
Lecture Accounting information systems
Systems development
Systems development life cycle
Systems development methodologies
Unified process
Object oriented analysis
Object modeling
Feasibility analysis
The system proposal
System development
Information systems development
Model driven strategy
Systems construction
Implementation phase
Accounting information systems
Lecture Accounting information systems
Systems Analysis and Design
Assuming the Role of the Systems Analyst
Integrating New Technologies into Traditional Systems
Web Systems
Wireless Systems
Open Source Software
Design in a Changing World
Types of information systems
Internal system users
Business process redesign
Project management
Process management
Fact finding techniques
Requirements discovery
Modeling system requirements
Use case modeling
Data modeling
Entity relationship diagram
Process modeling
Application architecture
Physical data flow diagram
Database design
Data architecture
Output design
Internal outputs
Input design
Input implementation methods
User interface design
Human engineering guidelines
Object oriented design
Design classes
TÀI LIỆU MỚI ĐĂNG
Báo cáo nghiên cứu khoa học " KẾT QUẢ NGHIÊN CỨU BƯỚC ĐẦU VỀ THIÊN ĐỊCH CHÂN KHỚP TRÊN CÂY THANH TRÀ Ở THỪA THIÊN HUẾ "
7
175
0
29-04-2024
MySQL Basics for Visual Learners PHẦN 9
15
185
0
29-04-2024
MySQL Database Usage & Administration PHẦN 9
37
142
0
29-04-2024
Lịch sử Đội TNTP Hồ Chí Minh - CHƯƠNG III VÂNG LỜI BÁC DẠY, LÀM NGHÌN VIỆC TỐT, CHỐNG MỸ, CỨU NƯỚC, THIẾU NIÊN SĂN SÀNG
45
137
0
29-04-2024
The profit magic of stock Timing The Markets_5
22
121
0
29-04-2024
báo cáo hóa học:" Endoscopic decompression for intraforaminal and extraforaminal nerve root compression"
7
107
0
29-04-2024
A Practical Guide for Health Researchers - part 7
24
109
0
29-04-2024
MẪU CHỨNG CHỈ QUẢN LÝ VŨ KHÍ, VẬT LIỆU NỔ, CCHT
1
119
0
29-04-2024
Báo cáo khoa học: "Modèle d’évolution des peuplements en futaie jardinée M Bruciamacchie"
10
78
0
29-04-2024
Phương pháp trăc nghiệm 7
6
93
0
29-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7866
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5768
1384
Ebook Chào con ba mẹ đã sẵn sàng
112
3770
1232
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5328
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8295
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3504
643
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10902
530
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3690
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4063
516
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4133
480
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.