UML

Use Case Diagrams

Use case diagrams are one of the diagrams in the UML for modeling the dynamic aspects of systems.(Activity diagrams,state diagrams,sequence diagrams,and communication diagrams are four other kinds of diagrams in the UML for modeling the dynamic aspects of system.) Use case diagrams are central to modeling the behavior fo a system, a subsystem,or a class. Each one shows a set fo use cases and actors and their relationships.

Introduction

  • Use case diagrams are a set of use cases, actors and their relationships.
  • They represent the use case view of a system.
  • A use case represents a particular functionality of a system.
  • So use case diagram is used to describe the relationships among the functionalities and their internal/external controllers. These controllers are known as actors.
  • It Organizes the behaviors of the system

Use case Diagram

Use Case Diagrams - Actors

  • An actor is a user of the system playing a particular role.

  • Actor is shown with a stick figure.

    Student

Use Case Diagrams – Use Cases

  • Use case is a particular activity a user can do on the system.

  • Is represented by an ellipse. 椭圆

  • Following are two use cases for a library system.

    Use Cases

Use Case Modeling: Core Elements

Use Case Diagram – Example1 (Library)

Use Case Diagram for Student Assessment Management System

Home Heating Use-Case Diagram

Example: The Soda Machine

Example

Use Case Diagram Example

University Record System (URS)

A University record system should keep information about its students and academic staff.

Records for all university members are to include their id number, surname, given name, email, address, date of birth, and telephone number.

Students and academic staff each have their own unique ID number: studN (students), acadN (academic employee), where N is an integer (N>0).

In addition to the attributes mentioned above:

Students will also have a list of subjects they are enrolled in. A student cannot be enrolled in any more than 10 subjects.

Academic employees will have a salary, and a list of subjects they teach. An academic can teach no more than 3 subjects.

Use Case Diagram - URS System

最新文章

  1. windows7 64位系统pl/sql 客户端的安装
  2. 三层VS控制器
  3. lucene 3.0.2 搜索
  4. xhr dojo load
  5. UVa 10020 (最小区间覆盖) Minimal coverage
  6. [HDU 1973]--Prime Path(BFS,素数表)
  7. JTable,TableModel,DefaultTableModel与AbstractTableModel的小结
  8. 【NLP】3000篇搜狐新闻语料数据预处理器的python实现
  9. MySQL之索引详解
  10. .Net移动开发平台 ,基于VisualStudio的可视化开发——Smobiler平台入门教程
  11. TabBar用到bottomNavigationBar
  12. Linux-iconv命令之批处理(18)
  13. python实现简单的聊天小程序
  14. 洛谷P1903 数颜色 [国家集训队] 莫队
  15. 打开安装 好的Microsoft Dynamics CRM 4.0 报错误为 Caller does not have enough privilege to set CallerOriginToken to the specified value 的解决办法
  16. JSON Web Token的使用(转载)
  17. WGCNA 分析
  18. 机器学习之路: python nltk 文本特征提取
  19. CoreDNS for kubernetes Service Discovery
  20. ajax application/json 的坑

热门文章

  1. 珍藏的C语言编程系列教程
  2. antDesign中排序sorter的坑
  3. 20201128-2 【自动化办公】读写csv文件
  4. SpringBoot + Layui + JustAuth +Mybatis-plus实现可第三方登录的简单后台管理系统
  5. 目前市面上比较流行的devops运维平台汇总
  6. vue 属性绑定 v-bind
  7. html 04-HTML标签图文详解(一)
  8. matplotlib的学习3-figure图像
  9. Webpack的学习总结(1)
  10. 每日CSS_实时时钟效果