如果参与者参与通用用例,他是否参与专用用例?
如果参与者参与通用用例,他是否参与专用用例? 我认为不会,考虑到多态性的类比,父对象指针可以指向子对象,但反之则不然。
我知道反之亦然(如果演员参与专门用例,他也参与通用用例)。
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从元模型来看,参与者和用例都是分类器,它们之间的关系表示为关联。因此,子用例应该继承父用例的所有属性和关联(包括用例和参与者之间的关联)
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)