Uml 2 toolkit phần 2

Thiết kế Một kỷ luật mô tả cách thức một mô hình phân tích có thể được thực hiện trong một môi trường kỹ thuật. Một mô hình thiết kế nên cung cấp đủ chi tiết để hệ thống có thể được thực hiện trong một ngôn ngữ lập trình. Bị phá hủy Một hạn chế ảnh hưởng đến chu kỳ cuộc sống của các đối tượng. Các đối tượng hạn chế bị phá hủy trong quá trình thực hiện các tương tác một. Lược đồ Một yếu tố xem cho thấy. | An Overview of UML 25 Customer Insurance System Analyze Sales Statistics Salesperson Analyze Customer Statistics Purchase Policy Figure Use-case diagram for an insurance business. Class Diagram A class diagram shows the static structure of classes in the system see Figure . The classes represent the things that are handled in the system. Classes can be related to each other in a number of ways They can be associated connected to each other dependent one class depends on or uses another class specialized one class is a specialization of another class or packaged grouped together as a unit . All these relationships are shown in a class diagram along with the internal structure of the classes in terms of attributes and operations. The diagram is considered static in that the structure described is always valid at any point in the system s life cycle. A system typically has a number of class diagrams not all classes are inserted into a single class diagram and a class can participate in several class diagrams. CROSS-REFERENCE Class diagrams are described in Chapter 4. Object Diagram An object diagram is a variant of a class diagram and uses almost identical notation. The difference between the two is that an object diagram shows a number of object instances of classes instead of the actual classes. An object diagram is thus an example of a class diagram that shows a possible snapshot 26 Chapter 2 of the system s execution what the system can look like at some point in time. The same notation as that for class diagrams is used with two exceptions Objects are written with their names underlined and all instances in a relationship are shown see Figure . Object diagrams are not as important as class diagrams but they can be used to exemplify a complex class diagram by showing what the actual instances and the relationships look like. Objects are also used as part of interaction diagrams that show the dynamic collaboration between a set of objects. State .

Bấm vào đây để xem trước nội dung
TÀI LIỆU MỚI ĐĂNG
214    174    1    21-05-2024
Đã 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.