Содержание
- 2. About myself Yi Luo TA for EEL5881 3rd Year Phd student in CpE Email: [email protected] Office
- 3. Acknowledgements Slides material are taken from different sources including: the slides of Mr. Shiyuan Jin’s UML
- 4. Outline What is UML and why we use UML? How to use UML diagrams to design
- 5. What is UML and Why we use UML? UML → “Unified Modeling Language” Language: express idea,
- 6. What is UML and Why we use UML? More description about UML: It is a industry-standard
- 7. What is UML and Why we use UML? Why we use UML? Use graphical notation: more
- 8. What is UML and Why we use UML?
- 9. How to use UML diagrams to design software system? Types of UML Diagrams: Use Case Diagram
- 10. Use-Case Diagrams A use-case diagram is a set of use cases A use case is a
- 11. Use-Case Diagrams Library System Borrow Order Title Fine Remittance Client Employee Supervisor Boundary Actor Use Case
- 12. Use-Case Diagrams Actors: A role that a user plays with respect to the system, including human
- 13. Use-Case Diagrams Association: communication between an actor and a use case; Represented by a solid line.
- 14. Use-Case Diagrams Extend: a dotted line labeled > with an arrow toward the base case. The
- 15. Use-Case Diagrams Figure 16.12 The McGraw-Hill Companies, 2005
- 16. Use-Case Diagrams Both Make Appointment and Request Medication include Check Patient Record as a subtask (include)
- 17. Class diagram A class diagram depicts classes and their interrelationships Used for describing structure and behavior
- 18. Class diagram Each class is represented by a rectangle subdivided into three compartments Name Attributes Operations
- 19. Class diagram
- 20. OO Relationships There are two kinds of Relationships Generalization (parent-child relationship) Association (student enrolls in course)
- 21. Subtype2 Supertype Subtype1 OO Relationships: Generalization -Inheritance is a required feature of object orientation -Generalization expresses
- 22. Represent relationship between instances of classes Student enrolls in a course Courses have students Courses have
- 23. Association: Multiplicity and Roles University Person 1 0..1 * * Multiplicity Symbol Meaning 1 One and
- 24. Class diagram [from UML Distilled Third Edition]
- 25. Association: Model to Implementation Class Student { Course enrolls[4]; } Class Course { Student have[]; }
- 26. OO Relationships: Composition Class W Class P1 Class P2 Association Models the part–whole relationship Composition Also
- 27. OO Relationships: Aggregation Class C Class E1 Class E2 AGGREGATION Container Class Containee Classes Bag Apples
- 28. Aggregation vs. Composition Composition is really a strong form of association components have only one owner
- 29. Good Practice: CRC Card Class Responsibility Collaborator easy to describe how classes work by moving cards
- 30. Interaction Diagrams show how objects interact with one another UML supports two types of interaction diagrams
- 31. Sequence Diagram(make a phone call) Caller Phone Recipient Picks up Dial tone Dial Ring notification Ring
- 32. Sequence Diagram:Object interaction Self-Call: A message that an Object sends to itself. Condition: indicates when a
- 33. Sequence Diagrams – Object Life Spans Creation Create message Object life starts at that point Activation
- 34. Sequence Diagram Sequence diagrams demonstrate the behavior of objects in a use case by describing the
- 35. Interaction Diagrams: Collaboration diagrams User Catalog Reservations start 1: look up 2: title data 3 :
- 36. State Diagrams (Billing Example) State Diagrams show the sequences of states an object goes through during
- 37. State Diagrams (Traffic light example) Yellow Red Green Traffic Light State Transition Green timer expires Yellow
- 38. What UML Modeling tools we use today? List of UML tools http://en.wikipedia.org/wiki/List_of_UML_tools ArgoUML: http://argouml.tigris.org/ Rational Rose
- 39. Conclusion UML is a standardized specification language for object modeling Several UML diagrams: use-case diagram: a
- 41. Скачать презентацию






















![Class diagram [from UML Distilled Third Edition]](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/1115283/slide-23.jpg)
![Association: Model to Implementation Class Student { Course enrolls[4]; } Class Course](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/1115283/slide-24.jpg)














Тема: Совершенствование управления процессами обслуживания напримере предприятия питания
Критерий выбора лучшего варианта конфигурации АРМ (тема 3)
Пришло Рождество, начинай торжество
Фотодело. Маски. Торговые центры. Новый год
Презентация на тему Отряд Полужесткокрылых
Темперамент в структуре личности
Дед мороз И Снегурочка
Презентация на тему Виды театров
Регулирование застройки территорий поселений посредством планировки территории
СИМВОЛЫ РОССИИ
Информационная безопасность и ее место в системе нацииональной безопасности РФ
Просветительский проект Обидка
В Краснодарском крае по инициативе губернатора А.Н.Ткачёва принята целевая программа “Качество”, задачами которой является конт
Сертификация
Европа на пути к модернизации
Радиотехника лекция
Мультимедиа в дошкольном и начальном образовании
А.Н.Мац НИИ вакцин и сывороток им. И.И.Мечникова РАМН
Формы, методы и технологии продвижения школьной медиации
Презентация на тему Политическая раздробленность Руси
Red Apple, сделай жизнь ярче!
Семинар
Комплекс упражнений для утренней зарядки
«Первый шаг к успеху»
Презентация1
ТБО проблема 21 века.
Тема. Увлекательные науки.
Летний оздоровительный лагерь с дневным пребыванием детей при МБОУ СОШ № 73