Download presentation
Presentation is loading. Please wait.
Published byBuddy Mills Modified over 9 years ago
1
University of Southern California Center for Systems and Software Engineering Rational Software Modeler Tutorial Pongtip Aroonvatanaporn
2
University of Southern California Center for Systems and Software Engineering Outline Setting up RSM environment Activity Diagram Use-case Diagram Class Diagram Sequence Diagram Archiving
3
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering Activity Diagram Captures a sequence of activities and actions In CSCI577, used to model business workflow or business process
5
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering Class Diagram Detailed designs of the classes Contains –Attributes –Operations –Relations between classes
11
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering Steps Create a new model called “Design Model” Create a package called “Design Classes” Add new classes: – > VolunteerPage – > TimeController – > Time – > TimeSheet – > VolunteerProfile Create relationships –Composition –Specialization –Association
13
University of Southern California Center for Systems and Software Engineering Sequence Diagram Captures the detailed sequence of operations when a use-case takes place Includes: –Actors –Components –Classes –Hardware –Software
14
University of Southern California Center for Systems and Software Engineering 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
University of Southern California Center for Systems and Software Engineering Archiving Archiving the model to be transferred to different computers –Share among team members –Submission Export as a RAS Asset
16
University of Southern California Center for Systems and Software Engineering Steps 1.Go to File -> Export 2.Choose RAS -> RAS Asset 3.Choose the location to save the file 4.Choose the project to export –Make sure that the option “Export as complete Eclipse project” is checked
17
University of Southern California Center for Systems and Software Engineering Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.