1 / 17

Rational Software Modeler Tutorial

Rational Software Modeler Tutorial. Pongtip Aroonvatanaporn. Outline. Setting up RSM environment Activity Diagram Use-case Diagram Class Diagram Sequence Diagram Archiving. RSM Environment. Built on Eclipse environment Workspace Modeling perspective Comes with Eclipse 3.2

tocho
Télécharger la présentation

Rational Software Modeler Tutorial

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. Rational Software ModelerTutorial Pongtip Aroonvatanaporn

  2. Outline • Setting up RSM environment • Activity Diagram • Use-case Diagram • Class Diagram • Sequence Diagram • Archiving

  3. RSM Environment • Built on Eclipse environment • Workspace • Modeling perspective • Comes with Eclipse 3.2 • Or installed as Eclipse plug-in • Note: on Windows 7, use your own version of Eclipse and JDK/JRE • Download Eclipse 3.2.2 and latest JDK/JRE • Choose “Extend Eclipse”

  4. Activity Diagram • Captures a sequence of activities and actions • In CSCI577, used to model business workflow or business process

  5. Components • Partitions • Actions • Control node (i.e. decision node) • Control flow • Transfer of action • Object node (i.e. data) • Object flow • Transfer of object

  6. Steps • Create a new model called “Activity Model” • Right click on the model • Add Diagram  Activity Diagram • On the right panel, select the following • Partition • Actions • Control node (decision node) • Control flow

  7. Use-Case Diagram • Captures the interaction between actors and system • Shows the possible capabilities/functionalities the system can perform • Association • Roles and multiplicities do not apply

  8. Components • Actor • Show the hierarchy of users • Use-case • The actions that user can perform • Relationships • Association • Dependencies • “Includes” • invocation of a use case by another one • “Extends” • Ultimately an alternate course of action • Should avoid as it complicates the model

  9. Steps • Create “System Analysis” model • Right click on the model • Add Diagram  Use-case Diagram • Add an actor • Add a few use-cases • Association from actor to use-case • “Include” relationship from 1 use-case to another • Right vs. wrong • User inheritance (super user)

  10. Class Diagram • Detailed designs of the classes • Contains • Attributes • Operations • Relations between classes

  11. Components • Classes • Boundary: pages, view • Controller: logic • Entity: model, data • Relationships • Association: “Has-a” • Aggregation: “Part-of” • Composition • Stronger aggregation • Lives and dies with parent

  12. Steps • Create a new model called “Design Model” • Create a package called “Design Classes” • Add new classes: • <<boundary>> VolunteerPage • <<controller>> TimeController • <<entity>> Time • <<entity>> TimeSheet • <<entity>> VolunteerProfile • Create relationships • Composition • Specialization • Association

  13. Sequence Diagram • Captures the detailed sequence of operations when a use-case takes place • Includes: • Actors • Components • Classes • Hardware • Software

  14. Steps • Create a package called “Sequence” • Right click on the model • Add diagram  Sequence diagram • Sequence diagrams are part of “collaboration”. Each collaboration should be named according to the use-case • Different ways of creating “life-line” entity • Select from existing • Create new object • Unspecified (defined later by drag and drop)

  15. Archiving • Archiving the model to be transferred to different computers • Share among team members • Submission • Export as a RAS Asset

  16. Steps • Go to File -> Export • Choose RAS -> RAS Asset • Choose the location to save the file • Choose the project to export • Make sure that the option “Export as complete Eclipse project” is checked

  17. Questions?

More Related