网站大量收购独家精品文档,联系QQ:2885784924

4-Dynamic model.ppt

  1. 1、本文档共30页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
活动图( activity diagram) Activity diagrams provide a way to model the workflow of a business process. You can also use activity diagrams to model code-specific information such as a class operation. Activity diagrams are very similar to a flowchart because you can model a workflow from activity to activity. An activity diagram is basically a special case of a state machine in which most of the states are activities and most of the transitions are implicitly triggered by completion of the actions in the source activities. The main difference between activity diagrams and state diagrams is activity diagrams are activity centric, while state diagrams are state centric. An activity diagram is typically used for modeling the sequence of activities in a process, whereas a state diagram is better suited to model the discrete stages of an object’s lifetime. 活动图的组成 start state end state state transition action decision  synchronizaton bar  swimlane  添加课程事件流 1. 管理员进入管理界面,用例开始. 2. 系统提示输入管理员密码. 3. 管理员输入密码. 4. 系统验证. A1:密码失败 5. 进入管理界面,系统显示目前所建立的全部课程信息 6.管理员选择添加课程. 7. 系统提示输入新课程信息. 8.管理员输入信息. 9. 系统验证是否和已有课程冲突. A2: 有冲突 10. 系统添加新课程,提示课程添加成功 11. 系统提示再次输入. 12. 用例结束. 其他事件流 A1:密码错误 (1)系统提示再次输入 (2)用户重新输入 (3)三次错误,拒绝再次访问 (4)否则进入添加课程事件流第5步 A2:有冲突 (1)系统提示冲突,显示冲突课程信息 (2)用户重新输入 (3)继续验证直至无冲突 (4)进入添加课程事件流第10步 添加课程事件流 1.管理员输入信息. 2. 系统验证是否和已有课程冲突. A2: 有冲突 3. 系统添加新课程,提示课程添加成功 4. 系统重新进入管理主界面,显示所有课程. 5. 用例结束. State Diagram Statechart diagrams model the dynamic behavior of individual classes or any other kind of object. They show the sequences of states that an object goes through, the events that cause a transition from one state to another, and the actions that result from a state change.    A statechart diagram is typically used to model the discrete stages of an object’s lifetime, whereas an activity diagram is better suited to model the sequence of activities in a process. Each state represents a named condition during the life of an object during which it satisfi

文档评论(0)

yan698698 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档