TAILIEUCHUNG - Uml 2 toolkit phần 7

Việc sử dụng tài liệu tham khảo sơ đồ trường hợp hành vi thông qua một loạt các hoạt động. Sử dụng sơ đồ này để chắc chắn rằng công việc vẫn còn trong phạm vi. Stickmen và vòng tròn cung cấp một cơ chế phạm vi cho dự án, nhưng không có khả năng hiển thị dòng chảy chi tiết. | 300 Chapter 8 User-defined stereotypes are often implemented when adapting UML to a specific method or to the application domain that an organization uses. Concepts used in the method or common elements or relationships used in the application domain that are not supported in the standard UML are usually defined as stereotypes. As noted earlier stereotypes have been added to the UML to make it easier for the UML designers to answer the question Why isn t the concept X or Y defined in UML They can always say Define a stereotype for it and it s there When defining stereotypes you need to describe On which element the user-defined stereotype is based The new semantics the stereotype adds or refines One or more examples of how to implement the user-defined stereotype Figure shows some examples of the user-defined stereotypes time semaphore and GUI . Note that although UML has other ways to show time this system required a special stereotype and that these are not standard stereotypes but customizations for this specific model presented in a realistic example. The time stereotype applies to associations specifying that there is a time dependency. A time-stereotyped association must have the multiplicity one-to-many where the many side is many over time. For example a shelf might be placed in many bookcases but only one at a time. The semaphore stereotype applies to classes. A semaphore class is one whose object guards a resource and allows access to only one or a specified number of users of that resource at a time. A printer should be used only by one thread in the system at a time and thus can be guarded by a Printer Queue class with the stereotype semaphore . The semaphore semantics indicate that only one thread at a time gains access to the printer queue and consequently prevents several threads from concurrently trying to write information to the printer. The GUI stereotype is a specialization of the boundary stereotype. It has the same functionality and .

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.