如果参与者参与通用用例,他是否参与专用用例?

发布于 2024-09-01 20:47:11 字数 105 浏览 10 评论 0原文

如果参与者参与通用用例,他是否参与专用用例? 我认为不会,考虑到多态性的类比,父对象指针可以指向子对象,但反之则不然。

我知道反之亦然(如果演员参与专门用例,他也参与通用用例)。

Does actor participates in specialized use case if he's participating in generalized use case?
I think no, given the analogy in polymorphism, where the parent object pointer can point to the child object, but not vice versa.

I know that the other way around is true (if actor is participating in specialized use case he's, as well, participating in generalized use case).

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笔芯 2024-09-08 20:47:11

从元模型来看,参与者和用例都是分类器,它们之间的关系表示为关联。因此,子用例应该继承父用例的所有属性和关联(包括用例和参与者之间的关联)

Looking at the metamodel, actors and use cases are classifiers and the relationship between them is represented as an association. Therefore, a sub-use case should inhrit all the attributes and associations of the parent use case (which includes the association between the use case and the actor)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文