1 / 22

IS0514 Lecture Week 10

IS0514 Lecture Week 10. Other UML Diagrams in Business Modelling. So far. Modelling Best Practice Development Use Case Diagrams Use Case Descriptions Class Diagrams CRC Cards This week Other UML Diagrams. Structure Diagrams Class Object Package Deployment Component

ina
Download Presentation

IS0514 Lecture Week 10

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. IS0514 Lecture Week 10 Other UML Diagrams in Business Modelling

  2. So far • Modelling • Best Practice Development • Use Case Diagrams • Use Case Descriptions • Class Diagrams • CRC Cards • This week • Other UML Diagrams

  3. Structure Diagrams Class Object Package Deployment Component Composite Structure Behavioural Diagrams Use Case Activity Sequence Communication Interaction Overview Timing Behavioural State Machine Protocol State Machine Available Diagrams Not All are used all the time for all purposes

  4. In an iteration, you walk through all workflows Inception Elaboration Construction Transition Business Modeling Requirements Analysis & Design Implementation Test Deployment Configuration Mgmt Workflows group activities logically Management Environment Iter.#m+1 Preliminary Iteration(s) Iter.#1 Iter.#2 Iter.#n Iter.#n+1 Iter.#n+2 Iter.#m Iterative Approach for the Full Lifecycle Phases Process Workflows SupportingWorkflows Iterations

  5. Business Modelling From Rational Unified Process

  6. Within Business Modeling which Diagrams to use? • Use Cases • Each Use Case represents a Business Process • Class Diagram • Identify the business classes • Object Diagram • Example objects of business classes • Activity Diagram • Process flows within Business Processes • Communication Diagram • Communication of Objects to support a business process • Sequence Diagram • The sequence in which Objects perform operations to support a business process

  7. A Simple Activity Diagram – Boiling a Kettle Initial Node Activity Decision Node Control Flow Final Node

  8. Exercise 1 • Draw an activity diagram for getting out of bed in the morning. • Please try and make use of both • Decisions • Forks and Joins • This should take about 10 minutes

  9. Exercise 1 One Solution

  10. With Partitions / Swim Lanes Partition / Swim lane

  11. Object Flows Object Flow Object Node

  12. Essentially an object diagram that shows message passing instead of relationships Emphasize the flow of messages among objects Shows but does not emphasize ordering of messages Numbering shows ordering Sequence diagrams show ordering more clearly (next year) Does not show timing (e.g., how long things take) Communication Diagrams

  13. Example Communication Diagram

  14. Space Invaders • Remember Space Invaders • Consider the use case “Fire Laser”. Use Case description in notes. Read this. • What classes will this involve? Barrier, Base, Laser, Alien,

  15. Fire Laser Communication Diagram Class Iteration * * message Link Guard Condition Object names Destroy and Disappear / Score Hitting Barriers Object What is missing?

  16. Exercise 2 • The aliens drop bombs • Identify the classes • Draw Communication diagram for “Drop Bomb” • This should take you 5 – 10 minutes Alien , Bomb, Barrier, Game

  17. Exercise 2 – One answer Have not included the base destroyed use case extension Repetition on moveDown() Whats missing?

  18. Communication / Class Diagram consistency • Messages in Communication Diagrams are Operations in class diagrams • Links in Communications are relationships in class diagrams • The two “Views” are different but should be consistent in terms of • Class names • Operation Names • Cases used

  19. Collaboration diagrams in Analysis • Analysts often draw initial diagrams very simply, then refine them. • UML as Sketch – Hand draw / Whiteboards / Discussion • UML as Blue Print – Use of a case tool

  20. And now Sequence diagrams

  21. This weeks reading ESSENTIAL READING Dennis A, Wixom B, and Tegarden D (2005) System Analysis and Design with UML version 2 second edition, Wiley Chapter 8 ( especially 236-238, 243-249) Further reading Bennett, S., McRobb, S. and Farmer, R. (2002) Object-Oriented Systems Analysis and Design using UML, 2nd Edition, McGraw-Hill Chapter 9 John Halt (2006) A Pragmatic Guide to Process Modeling http://www.bcs.org/server.php?show=ConWebDoc.3385 Accessed 23/01/06 Michael Harvey (2005) What Is Business Process Modelinghttp://www.onjava.com/pub/a/onjava/2005/07/20/businessprocessmodeling.html Accessed 23/01/06

  22. Summary • Brief Overview of the diagrams that are used within business modelling • Use case • Class • Object • Activity • Communication • Sequence

More Related