1 / 27

Visual Modeling Using Rational Rose

Visual Modeling Using Rational Rose. Networking LAB OOSD 담당조교 석사과정 이정환. Kyung Hee University. Contents. Introduction to visual modeling using a rational rose Getting started with rational rose Introduction to diagrams Introduction to specifications Class diagrams and specifications

tiana
Download Presentation

Visual Modeling Using Rational Rose

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. Visual Modeling Using Rational Rose Networking LAB OOSD 담당조교 석사과정 이정환 Kyung Hee University

  2. Contents • Introduction to visual modeling using a rational rose • Getting started with rational rose • Introduction to diagrams • Introduction to specifications • Class diagrams and specifications • Simple Example (hello world) Kyung Hee University

  3. Introduction to Visual Modeling Using a Rational Rose • Rational Rose provides support for two essential elements of modern software engineering • Component based development • Controlled iterative development • Rational Rose use • Component Object Modeling (COM) • Object Modeling Language (OMT) • Booch ’93 method for visual modeling Kyung Hee University

  4. Introduction to Visual Modeling Using a Rational Rose (cont’d) • Visual Modeling • Help organize, visualize, understand, and create complex things • The mapping of real world processes of a system to a graphical representation. • Useful for understanding problems, communication with everyone involved with the project (customers, domain experts, analysts, designers, etc.), modeling complex systems, preparing documentation, and designing programs and databases. Kyung Hee University

  5. Introduction to Visual Modeling Using a Rational Rose (cont’d) • Modeling promotes better understanding of requirements, cleaner designs, and more maintainable systems • Visual modeling captures business processes by defining the software system requirements from the user’s perspective Kyung Hee University

  6. Introduction to Visual Modeling Using a Rational Rose (cont’d) • Modeling with Rational Rose • Rational Rose is the visual modeling software solution that lets you create, analyze, design, view, modify and manipulate components and implement system in a way that makes them truly easy to communicate Kyung Hee University

  7. Getting Started With Rational Rose • The application window Diagram Window Menu Bar Toolbar Browser Specification Window Documentation Window Kyung Hee University

  8. Getting Started With Rational Rose (cont’d) • Documentation Window • Describe model elements or relationship • The description can include such information as the roles, keys, constraints, purpose, and essential behavior of the element Kyung Hee University

  9. Getting Started With Rational Rose (cont’d) • Diagram Window • Diagram windows allow you to create and modify graphical views of the current model • Each icon in a diagram represents an element in the model Kyung Hee University

  10. Getting Started With Rational Rose (cont’d) • Overview Window • The overview window is a navigational tool that helps you move to any location on all Rational Rose diagrams Kyung Hee University

  11. Getting Started With Rational Rose (cont’d) • Specification Window • A specification enables you to display and modify the properties and relationships of a model element, such as a class, a relationship, an operation, or an activity Kyung Hee University

  12. Introduction to Diagrams • Overview • Diagrams are views of the information contained in a model • Diagram windows • Class diagram • Use-case diagram • Collaboration diagram • Sequence diagram • Component diagram • Statechart diagram • Deployment diagram • Activity diagram Kyung Hee University

  13. Introduction to Specifications • A specification enables you to display and modify the properties and relationships of a model element, such as a class, a relationship, or an operation Kyung Hee University

  14. Class Diagrams and Specifications • Class diagram overview • A class diagram is a picture for describing generic descriptions of possible systems • Class diagrams and collaboration diagrams are alternate representations of object models • Class diagrams contain classes and object diagrams contain objects, but it is possible to mix classes and objects when dealing with various kinds of metadata, so the separation is not rigid Kyung Hee University

  15. Class Diagrams and Specifications (cont’d) • Class specification • A class specification displays and modifies class properties and relationships • Stereotype • A stereotype represents the subclassification of an element • It represents a class within the UML metamodel itself • Some stereotypes are already predefined, but you can also define your own to add new kinds of modeling types Kyung Hee University

  16. Class Diagrams and Specifications (cont’d) • Cardinality • The cardinality field specifies the number of expected instances of the class. • In the case of relationships, this field indicates the number of links between each instance of the client class and the instance of the supplier • You can set a specific cardinality value for the client class, supplier class, or both Kyung Hee University

  17. Class Diagrams and Specifications (cont’d) Kyung Hee University

  18. Class Diagrams and Specifications (cont’d) • Concurrency • A class concurrency defines its semantics in the presence of multiple threads of control Kyung Hee University

  19. Class Diagrams and Specifications (cont’d) Kyung Hee University

  20. Simple Example (Hello World) • Abstract of key point import java.awt.Graphics; class HelloWorld extends java.applet.Applet { public void paint (Graphics g) { d.drawString ("Hello, World!", 10, 10); } } Kyung Hee University

  21. Simple Example (cont’d) • The UML modeling Kyung Hee University

  22. Simple Example (cont’d) Kyung Hee University

  23. Simple Example (cont’d) Kyung Hee University

  24. Simple Example (cont’d) Kyung Hee University

  25. Simple Example (cont’d) Kyung Hee University

  26. Practice time • Make the class diagram of this source code • OOSD.java Kyung Hee University

  27. Kyung Hee University

More Related