TAILIEUCHUNG - OBJECT-ORIENTED ANALYSIS AND DESIGNWith application 2nd phần 5

. Xác định sự giống và khác nhau giữa các hệ thống bằng cách tham khảo ý kiến với các chuyên gia miền. Sàng lọc các mô hình chung để thích ứng với hệ thống hiện có "[40]. các cấp thấp hơn của sự trừu tượng. Liskov đi xa như vậy để cho thấy rằng "đối với | Chapter 5 The Notation 209 of messages. Messages with the same sequence number are unordered relative to each other messages with lower sequence numbers are dispatched before messages with higher sequence numbers. Duplicate sequence numbers and missing sequence numbers allow a partial ordering of messages. Example Figure 5-25 shows an example of an object diagram for the hydroponics gardening system whose context is the class category Planning first described in Figure 5-7. The intent of this diagram is to illustrate a scenario that Figure 5-25 Hydroponics Gardening System Object Diagram traces the execution of a common system function namely the determination of a predicted net cost-to-harvest for a specific crop. Carrying out this system function requires the collaboration of several different objects. We see from this diagram that the action of the scenario begins with some PlanAnalyst object invoking the operation timeToHarvest upon the class utility PlanMetrics. Note that the object C is passed as an actual argument to this operation. Subsequently the PlanMetrics class utility calls status upon a certain unnamed GardeningPlan object our diagram includes a development note indicating that we must check that the given plan is in fact executing. The GardeningPlan object in turn invokes the operation maturationTime upon the selected GrainCrop object asking for the time the crop is expected to mature. After this selector operation completes control then returns to the PlanAnalyst object which then calls directly which in turn propagates this operation to the crop s superclass the operation Crop yield . Control again returns to the PlanAnalyst object which completes the scenario by invoking the operation netCost upon itself. Chapter 5 The Notation 210 This diagram indicates a link between the PianAnaiyst and Gardeningplan objects. Although no messages are passed the presence of this link serves to highlight the existence of a semantic dependency between the

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã 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.