Actors and Use Case Diagrams

39
Actors and Use Case Diagrams Month Day, Year

description

Actors and Use Case Diagrams. Month Day, Year. Agenda. Training Plan Overview Review Detailing Requirements with Requisite Pro Concepts Setting Up XDE Integration Associating other requirements Creating views Actors Use-Case Diagrams Review Homework Next Steps. Training Plan Overview. - PowerPoint PPT Presentation

Transcript of Actors and Use Case Diagrams

Page 1: Actors and Use Case Diagrams

Actors and Use Case Diagrams

Month Day, Year

Page 2: Actors and Use Case Diagrams

AgendaTraining Plan OverviewReview Detailing Requirements with Requisite Pro

ConceptsSetting UpXDE IntegrationAssociating other requirementsCreating views

ActorsUse-Case DiagramsReview HomeworkNext Steps

Page 3: Actors and Use Case Diagrams

Training Plan OverviewIntroductionUsing Rational AdministratorUsing ClearCaseUsing ClearQuestUsing Rational Rose XDEIdentifying & Creating Use-Cases – Part 1Identifying & Creating Use-Cases – Part 2Detailing Requirements withRequisiteProActors and Use-Case DiagramsSequence and Statechart DiagramsCollaboration and Class DiagramsIntegration and Development with the .NET Framework

Page 4: Actors and Use Case Diagrams

Review - ReqPro

BenefitsManage project requirements comprehensivelyPromotes communication and collaboration among team membersReduces project risk

FeaturesTool combing power of a database and Microsoft Word.

• Powerful sort and query capabilities

Requirements• Organize• Prioritize• Trace relationships• Manage requirement

changePerform real-time impact analysis

• Informed decisions• Scope management• Resource allocation

Page 5: Actors and Use Case Diagrams

Review - ReqProRequirements Management Plan

Guidelines for establishing the requirements

• Requirement Types– Use-Case– Stakeholder Request – Feature– Supplementary– Glossary Item

• Attribute Types– Risk– Priority

Page 6: Actors and Use Case Diagrams

Review - ReqPro• Document Types

– Vision– Use-Case

Specification– Supplementary

Requirement Specification

– Test Plan

• Views– Attribute Matrix– Traceability Matrix– Traceability Tree

Page 7: Actors and Use Case Diagrams

Review - ReqProRequirement Types

Basic • Use-Case • Stakeholder Request • Feature• Supplementary

Specifications• Glossary Item

Other• Business Goals• Business Rules• Interface• Test

Attribute Types

Page 8: Actors and Use Case Diagrams

Review - ReqProTraceability

Between Two Requirements

• Different• Can be same

To vs. FromEvolution

• Realization– Requirement– Model

Page 9: Actors and Use Case Diagrams

Review - ReqProView Types

Attribute Matrix• Requirement vs.

Attribute– Illustrates the

relationships between requirements and their attributes

Page 10: Actors and Use Case Diagrams

Review - ReqProView Types

Traceability Matrix• Requirement vs.

Requirement– Illustrates the

relationships between requirements of the same or different types

Page 11: Actors and Use Case Diagrams

Review - ReqProView Types

Traceability Tree• Requirement vs.

Requirement– Displays all

internal and external requirements traced to or from a requirement

Page 12: Actors and Use Case Diagrams

Review - ReqProFolders

General RequirementsModels

• Business Use-Case• Use-Case• Design

ReportsViews

Page 13: Actors and Use Case Diagrams

Review - ReqProViews

Project Specific

Page 14: Actors and Use Case Diagrams

Actors & EntitiesBusiness Actor

Represents a role played in relation to the business by someone or something in the business environment

Business WorkerRepresents an abstraction of a human that interacts within the systemActive

Business EntityRepresent an object that business workers access, inspect, manipulate, produce, …Provide the basis for sharing Passive

ActorRepresents someone in a role who interacts with the systemInteracts with but have no control over use-cases

EntityRepresents an object used to model information and associated behaviorMay be persistentMay be active or passive

Page 15: Actors and Use Case Diagrams

ActorsActors represent system usersInteract with but have no control over use-casesCreate Actors at Model Level

Right click and select New UML, PackageName ActorsRight click package and select New UML, PackageName Contact ManagerRight click package and select New UML, ActorName Contact Manager

Page 16: Actors and Use Case Diagrams

Use-Case DiagramsUse-case diagrams

Graphically depict system behaviorPresent a high level view of how the system is used as viewed from the actor’s perspective.A use-case diagram may depict all or some of the use cases of a system

Select the use-case diagram

Drag the actor and use-case on to the diagramCreate an association between the actor and the use-caseSet line style to Oblique

Page 17: Actors and Use Case Diagrams

Use-Case DiagramsLabel to clarify Create alternative diagrams

Page 18: Actors and Use Case Diagrams

Use-Case DiagramsComplete Use-Case Detail diagrams

Illustrate other actors or use-cases used within the context of the incorporating use-case

Page 19: Actors and Use Case Diagrams

Use-Case DiagramsDefine Associations

• Includes– Used to partition out

parts of a workflow for which the base use case only depends on the result, not the method for reaching the result.

• Extends– Optionally, or

conditionally, add a flow to a business use case that is already complete in itself

• Generalizes– Specialization into

one or more child use cases that represent more specific forms of the parent

Page 20: Actors and Use Case Diagrams

Use-Case DiagramsComplete other use-case diagrams of incorporated use-cases as needed

Select diagramDrag and drop model elements from model treeAdd labels

Page 21: Actors and Use Case Diagrams

Use-Case DiagramsThe Main diagram

Provides an quick overview of the model

• Use grouping and labels to add context

Provides a navigation point for the model

• Right click actor and use-case and select

– Select in Browser

Page 22: Actors and Use Case Diagrams

Use-Case Diagrams

Page 23: Actors and Use Case Diagrams

Actors - DetailSelect View, Other Windows, Model Documentation

Page 24: Actors and Use Case Diagrams

Actors - DetailRight click and select Properties Window

Select UML sectionSelect Stereotype

• Add business worker

Select Persistence

• Select Transient

Page 25: Actors and Use Case Diagrams

Actors - Detail

Page 26: Actors and Use Case Diagrams

Actors - DetailSelect UML section

• Select Multiplicity

Page 27: Actors and Use Case Diagrams

Actors - DetailSelect a multiplicity

Page 28: Actors and Use Case Diagrams

Actors - DetailAttributes

Not typical of actors, but could be use for establishing role profile attributesSelect Attribute tabClick Attribute Icon to add

Page 29: Actors and Use Case Diagrams

Actors - Detail• Enter at least Name• Enter other attribute values

Repeat as necessaryClose

Page 30: Actors and Use Case Diagrams

Actors - DetailComponents

Not typical of actors, but could be use for establishing role profile attributesDefines attributes derived from other classes

Page 31: Actors and Use Case Diagrams

Actors - DetailOperations

Not typical of actors

Page 32: Actors and Use Case Diagrams

Actors - DetailRelationships

A relationship is a connection between model elementsRelationship types are:

• Associations• Dependencies• Generalizations• Realizations• Transitions

Page 33: Actors and Use Case Diagrams

Actors - DetailAssociations

An association is a structural relationship showing that objects of one classifier (actor, use case, class, interface, node, or component) are connected and can navigate to objects of another classifier The are numerous association types

Page 34: Actors and Use Case Diagrams

Uses AssociationUses Association shows which processes the actor is involved Right cick and select Properties Window

Select UML section

• Enter Name

Page 35: Actors and Use Case Diagrams

Uses AssociationSelect End 1 Section

• Enter Multiplicity

Select End 2 Section

• Enter Multiplicity

Page 36: Actors and Use Case Diagrams

Uses AssociationQualifiers

Acts as a constraint• Can be at either end of relationship

AggregationPersistence

Page 37: Actors and Use Case Diagrams

Uses Association

Page 38: Actors and Use Case Diagrams

Uses Association

Page 39: Actors and Use Case Diagrams

Next StepsHomework

Homework Model• Explode another top level use-case• Continue to concentrate on abstraction of detail• Use modeling elements

– Business Use-Case Model Level• Add Use-Case Diagrams

Classes AheadSequence and Statechart DiagramsCollaboration and Class DiagramsIntegration and Development with the .NET Framework