UML 用例图问题
我有一些关于用例图的问题:
如果我的系统有访客注册/登录用例,是否应该为管理员、用户启用它(我只是想澄清一下,如果我有登录系统,我是否假设管理员、用户等是已经登录到系统的人,所以我通过日志记录跳过他们)?
如果我的系统有一个学生演员,正在为个人研讨会/课程签名,我是否有(或我被允许)在为他们唱歌后为“上课”制作用例,并且应该有这些之间的关系 2
我的老师应该继承学生演员吗,因为他也可以浏览课程? (等等管理员?)
我的付款设置正确吗?
I have a few questions regarding use-case diagram:
If my system has register/login use-case for guest, should it be enabled for admin, user (i just wanna clarify, if i have login system, do i assume that admin, user etc. are people who already logged in to system so i skip them with logging thing)?
If my system has a student actor, that is signing for individual seminars/courses, do i have (or am i allowed) to make use-case for ,,taking class'' after singing for them, and should there be relations between those 2
Should my teacher inherit from student actor, since he can browse courses as well? (and so on admin?)
Is my payment setup correct?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请记住,除非您在大多数情况下生成代码,否则 UML 是关于沟通的,因此了解您的受众。不要害怕使用注释或约束,如果这是家庭作业,请使用约束并获得一些真正的分数。甚至可能对标志和付费课程用例施加限制。
Remember unless you are generating code most of the time UML is about communication so knowing your audience. Do not be afraid to use comments or constraints, if this is homework, use a constraint and get some real points. Maybe even put a constraint on the sign and pay course use cases.
另一个建议。 Actor 和用例之间的黑色箭头(通常在 UML 中表示“依赖关系”)应该是双向的、无箭头的线(这通常称为“关联”)至少 UML 标准是这么说的。
Another suggestion. The black arrow (usually means "dependency" in UML) you have between Actors and Use Cases, should probably be bi-directional, non-arrowed, line (this is usually called "association") At least that is what the UML standard says.