Presentation is loading. Please wait.

Presentation is loading. Please wait.

Identifying & Creating Use Cases – Part 2

Similar presentations


Presentation on theme: "Identifying & Creating Use Cases – Part 2"— Presentation transcript:

1 Identifying & Creating Use Cases – Part 2
Month Day, Year

2 Agenda Training Plan Overview Activity Diagram Details Next Steps

3 Training Plan Overview
Introduction Using Rational Administrator Using ClearCase Using ClearQuest Using Rational Rose XDE Identifying & Creating Use-Cases – Part 1 Identifying & Creating Use-Cases – Part 2 Detailing Requirements with RequisitePro Actors and Use-Case Diagrams Sequence and Statechart Diagrams Collaboration and Class Diagrams Integration and Development with the .NET Framework

4 Activity Diagram Start State Activity Decision State Transition
Regular Transition To Self Horizontal and Vertical Synchronization Object State Note Note Anchor Text End State Swimlanes

5 AD – Decisions & Events A decision defines a specific location on an activity diagram or statechart diagram where the workflow may branch 1 to n branches 1 to 2 branches normal Event defines a trigger of a state transition (1 to n) A decision of ??? Type of event

6 AD – Decisions & Events

7 AD - Events Add event Right click transition and select Properties Window Select UML tab

8 AD - Events Enter Name

9 AD – Activity Actions An action defines a step within an Activity or State Add Actions Right click activity Select Add UML Select Action

10 AD – Activity Actions Specify action Repeat as Necessary Do Action
On Entry On Exit Repeat as Necessary

11 AD – Activity Actions

12 AD – Activity Actions Select activity
Right Click and Select Property Window Select Collections

13 AD – Activity Actions

14 AD – Activity Actions

15 AD – Activity Stereotype
A stereotype defines a sub-classification of a model element Add Stereotype Right click activity Right Click and Select Property Window Select stereotype from drop down or add new type

16 AD – Activity Stereotype
Change Stereotype Display Select Format, Stereotype & Visibility Style None Label Icon Decoration

17 AD – Details

18 AD – Guard Conditions A Guard Condition defines a condition which, when true, allows the transition to occur. As long as the condition remains false, the transition will not occur. Add guard condition Right click transition and select Properties Window Select Detail tab. Enter Guard Condition Click OK

19 AD – Conditional Threads
A conditional thread defines a branch of workflow which only occurs when a set of conditions exist

20 AD – Conditional Threads and Guard Conditions

21 AD – Conditional Threads and Guard Conditions

22 AD – Nested Activities Nested Activities are a way to visually present the equivalent of a sub- diagram of activities Enclosing activity is referred to as a superactivity Nested activities are called subactivities

23 AD – Nested Activities

24 AD – Transitions to Self
Transitions to Self are a looping mechanism Drag and Drop Transition to Self tool onto activity Add guard condition to new transition Add guard condition to activity completion transition

25 AD – Transitions to Self

26 AD – Decision Guard Conditions
Decision Guards Conditions control the flow of a decision via the transitions from the decision Boolean logic of True

27 AD – Decision Guards

28 AD – Decision Guards

29 Use-Case View Activities Added State/Models Added
Clean Up Rename Other Sub-model elements added

30 AD - States A state defines a condition of an object in which it performs some activity or waits for an event Add a state Drag and drop Proxy State tool on to the diagram In Model Explorer create State Drag & Drop State on Proxy State Connect transitions

31 AD - States

32 AD – State Stereotypes

33 AD - States

34 AD - States

35 Use-Case View States Added

36 Use-Case View Review Reorganize Complete

37 Use-Case Analysis

38 Use-Case Analysis 5 New Use-Cases Add New Use-Cases Check Spelling
Verify Address Verify Phone Parse Name Create Spelling Suggestions Add New Use-Cases Follow Process

39 Use-Case Analysis Delete actions Create sub-activity diagram

40 AD – Clean Up

41 AD – Clean Up

42 AD – Clean Up

43 Advanced AD - Swimlanes
Swimlanes are similar to an object Represent organizational units or roles Allow assignment of activities to the organizational units or roles

44 Advanced AD - Swimlanes

45 Advanced AD - Swimlanes

46 Advanced AD - Swimlanes

47 Advanced AD - Swimlanes

48 Advanced AD - Swimlanes

49 Advanced AD - Swimlanes

50 Advanced AD - Swimlanes

51 Advanced AD - Swimlanes

52 Advanced AD - Swimlanes

53 Advanced AD - Swimlanes

54 Advanced AD - Swimlanes

55 Advanced AD - Swimlanes

56 Advanced AD - Swimlanes

57 Advanced AD - Swimlanes

58 Advanced AD - Swimlanes

59 Advanced AD – Object Flows
Object flows are used to show how business entities are created and used in a workflow The object flow state represents the state of an object of a class as it participates in the workflow The same object can be manipulated by a number of successive activities that change the object's state. The same object can then be displayed multiple times in an activity graph, with each appearance representing a different state during its life.

60 Advanced AD – Object Flows
Create or Select an Activity Diagram Select the Object State tool Click on diagram to place

61 Advanced AD – Object Flows
Enter Name and Alias New Repeat Saved Add to & from transitions

62 Advanced AD – Object Flows
Create Object Create State Machine Create States

63 Advanced AD – Object Flows
Drag and Drop class object states onto activity diagram object states

64 Advanced AD – Object Flows

65 Advanced AD – Object Flows

66 Advanced AD – Object Flows

67 Next Steps Homework Classes Ahead Homework Model
Explode one top level use-case Concentrate on abstraction of detail Use modeling elements Use-Case Model Level Classes Ahead Detailing Requirements with RequisitePro Actors and Use-Case Diagrams Sequence and Statechart Diagrams Collaboration and Class Diagrams Integration and Development with the .NET Framework


Download ppt "Identifying & Creating Use Cases – Part 2"

Similar presentations


Ads by Google