构造型来表示依赖项(第 22.3 章标准构造型) 这是规范中对它的定义: A contract or an obligation of an element in-6ren">
gpt4 book ai didi

uml - UML 中的 "Responsibility"构造型

转载 作者:行者123 更新时间:2023-12-04 19:04:02 25 4
gpt4 key购买 nike

根据 UML 规范,我们可以通过 << Responsibility >> 构造型来表示依赖项(第 22.3 章标准构造型)

这是规范中对它的定义:

A contract or an obligation of an element in its relationship to other elements.



你能举一个使用这种刻板印象的例子吗?

最佳答案

以下是一些其他定义:

  • The source element is responsible for the target element [Weilkiens, Oestereich 2010].

  • ... signifies that the client has some kind of obligation to the supplier [Scott 2004].

  • The Comment at the supplier end of the Dependency defines the responsibilities of the client class or component [MSDN].



例子:

enter image description here

关于uml - UML 中的 "Responsibility"构造型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33352024/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com