1. Trang chủ
  2. » Công Nghệ Thông Tin

Software design: Lecture 17 - Sheraz Pervaiz

12 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

Software design - Lecture 17. The main topics covered in this chapter include: relationships between classes; represent cardinality of the class in relationship to another class; bi-directional association example; association - multiplicity; uni-directional association;...

1 Software Design Lecture : 17 Relationships between Classes Ø Association Ø Aggregation Ø Composition Ø Inheritance Association Ø It represents a linkage between two classes Ø Associations are bi­directional i­e both classes are  involved in a relationship Ø   The  line  is  drawn  from  the  containing  to  the  Association Example Multiplicity Ø Identify how many instance of a class  can be  initiated against other class Ø Represent cardinality of the class in relationship  to another class 6 Example Bi­Directional Association Example Association ­ Multiplicity Multiplicity 10 Uni­Directional Association 11 Comprehensive Example 12 Task to Do: Write Requirements

Ngày đăng: 05/07/2022, 14:01

Xem thêm: