Practical Session 2: Use Cases and a Requirements Model.

Similar documents
Enterprise Architect basic usage

Enterprise Architect. User Guide Series. Maintenance. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

IDERA ER/Studio Software Architect Evaluation Guide. Version 16.5/2016+ Published February 2017

Enterprise Architect Training Courses

Enterprise Architect. User Guide Series. Maintenance

University of Bahrain College of Applied Studies

The new layer will be part of the template because we want it to appear alongside the nav bar on every page.

Enterprise Architect Tips & Tricks Compilation - 1

Essentials of design management with Rational Software Architect

Enterprise Architect. User Guide Series. Tutorial. Author: Sparx Systems. Date: 26/07/2018. Version: 1.0 CREATED WITH

Rational Rose: Creating Use-Case and Class Diagrams Version 1.0. Bryan Loughman 10/ 19/ 00

Enterprise Architect. User Guide Series. Tutorial

Enterprise Architect. User Guide Series. Testpoints. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

ekaizen Lessons Table of Contents 1. ebook Basics 1 2. Create a new ebook Make Changes to the ebook Populate the ebook 41

igrafx Self-Paced Training Companion

Week 4 Tute/Lab Entity-Relationship (ER) Model

The aim of this guide is to explain in detail the user operationating point of view of "EA Connector for Jira ".

POS Designer Utility

QualiWare Lifecycle Manager. Starter course

The Open Networks Models User Guide. Prepared for: Energy Networks Association - Open Networks Project

Bouml Tutorial. The tutorial must be read in order because I will not repeat each time the general commands to call a menu etc...

Practical UML - A Hands-On Introduction for Developers

ATM Use Cases. ID: CIS Title: Check Balance Description: Customer aims to know the balance in his/her account

Practical UML : A Hands-On Introduction for Developers

CHAPTER 2: USE WINDOWS 7 TO MANAGE FILES AND PROGRAMS AND TO BROWSE THE INTERNET

Visual Paradigm Quick Start

CHAPTER 5 CO:-Sketch component diagram using basic notations 5.1 Component Diagram (4M) Sample Component Diagram 5.2 Deployment Diagram (8M)

Balsamiq manual. Balsamiq Main window. Image 1

Visual Paradigm Quick Start

BPMN Getting Started Guide

Create a Flowchart in PowerPoint

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

ADOBE DREAMWEAVER CS4 BASICS

HTML Exercise 21 Making Simple Rectangular Buttons

The Unified Modeling Language (UML ) Using Enterprise Architect 13.x or 14.x

INF 111 / CSE 121. Laboratory 6: Package and Sequence Diagrams using ArgoUML

Visual Paradigm Quick Start

Publish Joomla! Article

Introduction to the RAMI 4.0 Toolbox

Publish Joomla! Article

Since you can designate as many symbols as needed as baseline symbols it s possible to show multiple baselines with unique symbology.

Enterprise Architect. User Guide Series. Ribbons. Author: Sparx Systems Date: 27/05/2016 Version: 1.0 CREATED WITH

Darshan Institute of Engineering & Technology for Diploma Studies

Enterprise Architect. User Guide Series. Ribbons. Author: Sparx Systems Date: 15/07/2016 Version: 1.0 CREATED WITH

How do I make a basic composite or contact sheet?

Introduction. Archi is a free, open source, cross-platform tool to create ArchiMate models.

Date:.. /. / 20.. Remas Language Schools. Name :. Class : Second Term 5th Primary 1 Computer Department

Requirements Management with Enterprise Architect

Issue dated 25 th July Create Credit Notes

Chapter 10. Object-Oriented Analysis and Modeling Using the UML. McGraw-Hill/Irwin

Week 5 Creating a Calendar. About Tables. Making a Calendar From a Table Template. Week 5 Word 2010

Customer Bank Account System Requirement

CENTAUR S REAL-TIME GRAPHIC INTERFACE V4.0 OPERATOR S MANUAL

Enterprise Architect. User Guide Series. Model Wizard

Meta-Modeling and Modeling Languages

How to create a prototype

Creating a Deduction Statement for a Subcontractor Payment

Object-Oriented Design. Module UFC016QM. and Programming. Objects and Classes. O-O Design Unit 2: Faculty of Computing, Engineering

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

SAP R/3 Information Session

Step 1 Turn on the device and log in with the password, PIN, or other passcode, if necessary.

OTTOMAN ARCHIVE CBR SYSTEM USER MANUAL

Guide to the Trial Edition

Training Guide. Microsoft Excel 2010 Advanced 1 Using Conditional and Custom Formats. Applying Conditional Formatting

Software Service Engineering

UML Modeling with Enterprise Architect - UML Modeling Tool

C omputer D riving L icence

Software Engineering Lab Manual

How to do a "Mail Merge" from a Calc spreadsheet.

GROUP CANVAS USER SIDE FUNCTIONS

Exercise 2b: Applying Entity Attributes, Masking, and Creating Groups

SAP Favorites. You can manage your own SAP menu Favorites in multiple ways: 1. From the SAP menu bar click on Favorites to display your options:

Eastern Bank TreasuryConnect Balance Reporting User Manual

Specification Manager

Step by Step How to Manual

Tutorials. Lesson 3 Work with Text

Creating a Title Block & Border Using Chief Architect. Architectural Design & Residential Construction Penncrest High School

Hippo Software BPMN and UML Training

Updated: 10/2016. Regional Meeting/ Specialty Conference. Symposium Organizer. Box & Workbook. User Guide

Specification Manager

Lecture 17 Engineering Design Resolution: Generating and Evaluating Architectures

Enterprise Architect - UML Dictionary

CH 13 APPLICATION ANALYSIS

Promethean ActivInspire

Oral Questions. Unit-1 Concepts. Oral Question/Assignment/Gate Question with Answer

7. Apply a Range of Table Features

Adobe Encore DVD Tutorial:

Cheque Imaging Service User Guide

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

Object Oriented Design. Program Design. Analysis Phase. Part 2. Analysis Design Implementation. Functional Specification

Enterprise Architect. User Guide Series. UML Models. Author: Sparx Systems. Date: 30/06/2017. Version: 1.0 CREATED WITH

Using the Brightlink Interactive Projector Training Session Guide

Microsoft Visio 2010: An Introduction

OKPAY guides. ewallet Guide

Homework , Fall 2013 Software process Due Wednesday, September Automated location data on public transit vehicles (35%)

Enterprise Architect. User Guide Series. User Interface. Author: Sparx Systems. Date: 19/03/2018. Version: 1.0 CREATED WITH

INTRODUCTION TO UNIFIED MODELING MODEL (UML) & DFD. Slides by: Shree Jaswal

Enterprise Architect. User Guide Series. Model Navigation

Learning the Pro/ENGINEER Interface

My Checkbook User Manual

Transcription:

Practical Session 2: The Use Case and Requirements Model T he following report uses a retail banking scenario to illustrate how Enterprise Architect can be used to develop Use Cases and a Requirements Model. T he report also gives you hands on experience with Use Case Diagrams, Business Rules, Features and the Relationship Matrix. All material La Trobe University 2009 http://www.latrobe.edu.au/ La Trobe University 2009 Page 1

Using Enterprise Architect (EA): Session 2 The Use Case and Requirements Model You need to create a new project for this and the subsequent sessions. Call it RetailBanking. Select a Use Model and a Requirements Model. Ensure that the RetailBanking and project browser are both open as shown below. For the purposes of these exercises delete the default templates for the user interface package (right click on the user interface folder in the project browser and select delete from the menu). We will now add three features and a business rule for the retail banking example from the theory sessions. Ensure you have the requirements toolbox selected. Feature 001: The system will provide ATM withdrawals Feature 002: The system will provide EFTPOS withdrawals Feature 003: The system will provide cash withdrawals from a branch La Trobe University 2009 Page 2

Business Rule 001: The maximum daily amount that can be withdrawn from a savings account is $900. In the features custom diagram add the following stakeholder(customer) request as a requirement. Request 001: A customer is able to withdraw money from their accounts Now establish a realisation association between each feature and the request. Access the properties of each of the three associations and in the stereotype field enter realise. The stereotype should appear in the diagram as shown below. These realisation associations could have been set through a relationship matrix, rather than through the diagram. However as they have been set through a diagram, they will appear in the relationship matrix. Viewing the matrix From View Menu, select Relationship Matrix. You will need to ensure that you select the correct models, types, link types and direction to see the following. La Trobe University 2009 Page 3

Now to the Use Case Model We will use the default actors and primary use case packages. However delete the sample actor and primary use provided. These will be replaced with your own. You may delete the hyperlinks and notes on the Use Case Model diagram, leaving just the empty folders. To add an actor to the actor folder In the project browser: Highlight the folder, right mouse click and select add. Select element, then actor and create. Close the properties window for the customer actor, and it now will be visible in the actor package in both the browser and the diagram. Create the following actors: retail customer, business customer, ATMsystem, shop assistant, banking system, credit card system. To add a use case to the primary use case folder. La Trobe University 2009 Page 4

In the project browser: Highlight the folder, right mouse click and select add. Select element, then use case and create. Name the use case, withdrawcashatm. Close the properties box (later on you can add some detail for withdrawcashatm). Create the following use cases: validatepin, withdrawcasheftpos, withdrawcashbranch, validateamount, makepayment, directdebitpayment and creditcardpayment. Note These use cases and actors could have been created by drawing a diagram using the use case tool box. The approach taken in this session is to create the model elements (use cases and actors) first and then later to assemble them into diagrams to view the model as required. One disadvantage of creating them using a diagram is that the elements will appear at the same hierarchy level as the diagram in the project browser, rather than in a dedicated package. La Trobe University 2009 Page 5

Documenting the Use Cases Use cases are narratives describing normal and alternate behaviour. These narratives can be included with the use case properties. To access the property box, highlight and click on the required use case in the project browser. The following figure shows the normal behaviour for the use case withdrawcashatm being recorded under the General Tab in the properties window. and the scenarios, documenting alternate behaviour, recorded under the Scenario Tab. La Trobe University 2009 Page 6

La Trobe University 2009 Page 7

Viewing the use case model, using use case diagrams The following is a use case diagram illustrating the three ways of withdrawing money from an account. Your task is to draw this using Enterprise Architect Hints: You need to add a further use case to the Primary Use Case package. It is to be drawn as part of the Use Case Model (not the Use Case Model diagram) i.e. highlight Use Case Model package, right mouse click, select add and then select diagram. Select use case diagram (as part of the UML behavioural group). Now right click on the blank drawing canvas and open the properties window for the diagram. Change the default name to withdrawcashusecasediagram. Ensure that the use case tool box is open. However do not use it to create actors or La Trobe University 2009 Page 8

use cases. Instead highlight and drag the required use case elements from the project browser to the drawing canvas. Enter each as a simple link. The relationships/associations can be created using the use case toolbox. At this stage ignore the composite diagram icon ( ). It will be introduced later. The display for an actor can be changed from the default stick figure to a rectangular form. Select the icon and right click to activate a menu. Select Advanced and then Use Rectangle Notation. Now here is a further use case diagram for viewing part of the use case model. La Trobe University 2009 Page 9

You are to draw this one. Hints (continued) It is to appear at the same level as the previous one i.e as part of the Use Case Model. To enter extension points for a use case, access the properties window for the required use case and right click to activate the menu. From Advanced select Edit Extension Points and the following window will open. Multiple extension points can be added if required. One further hint: If you wish to delete elements from a project it has to done through the project browser. Right click on the element and select delete (the last on the list). Deleting elements in a diagram just removes them from the diagram, not the model. The connectors (in this case associations and relationships) in a diagram can either be removed from the diagram or hidden (still there but not seen). Highlight the connector, right click and select delete. You will be given the option of removal or hidden. La Trobe University 2009 Page 10

Creating a realisation relationship matrix between the features and the use cases From the view menu, select relationship matrix. In this case the target is the requirements model and the source is the use case model (because the use cases will realise the feature). The type will be UseCase for the use case model and Feature for the requirements model. Link type is Realisation and direction is Source Target i.e use case to requirements. To establish the link right click on the appropriate cell in the matrix, select create new relationship and then UML realisation. See screen snapshot below. If you wish to delete a relationship, right click on the cell and select delete relation ship. Incorporating this in the features custom diagram Close the relationship matrix diagram view. Open the features diagram, showing the three features and the stakeholder request. La Trobe University 2009 Page 11

Ensure the primary use case package is open in the project browser. Now highlight and drag the withdrawcashatm use case across to the diagram as a simple link. Notice that a realisation relationship is established (see below). Do the same for the other two use cases. If you wish to attach the realisation stereotype select the relationship, right click to access the realisation properties. In the stereotype box enter the required stereotype i.e realise. La Trobe University 2009 Page 12

La Trobe University 2009 Page 13