uml diagrams
play

UML Diagrams CSE 403 Think of it as A more concise and accurate - PowerPoint PPT Presentation

UML Diagrams CSE 403 Think of it as A more concise and accurate documentation of software architecture than English A way to guide discussion to reveal assumptions and miscommunications A compact and quick way to take notes in


  1. UML Diagrams CSE 403

  2. Think of it as … ● A more concise and accurate documentation of software architecture than English ● A way to guide discussion to reveal assumptions and miscommunications ● A compact and quick way to take notes in meetings

  3. Think of it as … (Cont.) ● A way to verify that a system is capable of meeting its requirements ● An intuitive way to identify a system’s weaknesses ● A way to quickly onboard new team members ● A way to remind yourself of decisions you made months ago

  4. Class Diagrams

  5. A Brief Review Describes ● The system’s classes ● Their attributes ● Their operations ● Their relationships with each other

  6. Representing a class

  7. General Association A two-way connection between peers

  8. Aggregation One or more classes are generally treated as members of some larger whole, but may belong to multiple objects during their lifetimes

  9. Composition One or more classes are always treated as members of some larger whole, and are destroyed with the whole

  10. Dependency Changing the interface of one class may change the implementation or interface of another

  11. http://msdn.microsoft.com/en-us/library/dd409437.aspx

  12. Sequence Diagrams

  13. A Brief Review ● Describes the sequence of messages passed between instances of components over time ● Time flows down the diagram ● Shows how control flow moves from one component to another

  14. http://msdn.microsoft.com/en-us/library/dd409377.aspx

  15. Design Exercise Design the models (not any views or controllers) for course registration software based on the UW’s system. Create: ● A sequence diagram for the use case “user attempts to register for one or more courses by entering their SLNs”. ● A class diagram. The system should let a student register if and only if they have taken the prerequisite courses and have no scheduling conflicts.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend