Topic 6 - Requirements Analysis and Modelling (II)
Topic 6 - Requirements Analysis and Modelling (II)
Topic 6 - Requirements Analysis and Modelling (II)
Information Systems
Engineering
2
Things in the Problem Domain
7
Partial List
of Nouns
With notes on
whether to
include as
domain class
The Noun Technique: Steps
objects
Domain Class
Classes that describe objects in the problem domain
Class Diagram
A UML diagram that shows classes with attributes and
Each student has many grades and each grade is association with a section
Refined Course Enrollment Model
with an Association Class CourseEnrollment
Association class— an association that is treated as a class in a
many to many association because it has attributes that need to
be remembered, such as grade
23
More Complex Issues about
Classes:
Generalization/Specialization Relationships
Generalization/Specialization
A hierarchical relationship where subordinate classes are
special types of the superior classes. Often called an
Inheritance Hierarchy
Superclass
the superior or more general class in a
generalization/specialization hierarchy
Subclass
the subordinate or more specialized class in a
generalization/specialization hierarchy
Inheritance
the concept that subclasses classes inherit characteristics of
the more general superclass
Generalization/Specialization
Inheritance
25
Generalization/Specialization
Inheritance for Three Types of Sales
A SavingsAccount
has 4 attributes
A CheckingAccount
Has 5 attributes
Note: the subclasses
inherit the
associations, too
System Sequence Diagram (SSD)
An SSD is usually used together with use case
description/activity diagram
Use case description/activity diagram identify the
flow of activities within a use case
However, they do not explicitly identify inputs or
outputs
This is provided by SSD
Use case diagram shows how actor uses the
system
System sequence diagram shows how actor
interacts with system
Enters input data
Receive output data
28
System Sequence
Diagram (SSD) Shows interactions
between objects
Shows the
sequence of
messages
between an
external actor
and the system
29
SSD Notation
Actor
:System
Lifeline
Message
Note
30
SSD Notation
Loop Frame
31
SSD Notation
Loop Alternate
32
SSD Notation
Opt Frame
33
SSD Notation
Alt Frame
34
Creating an SSD
35
Recall Use
Case
Descriptio
n
Create
Custome
r
Account
36
Recall
Activity
Diagram
Create
Customer
Account
37
Steps for Developing SSD
38
Identify Input Message 1
39
Describe the message 2
Verb-noun: what the
system is asked to
do
createNewCustomer()
enterAddress()
enterCreditCard()
Consider parameters
the system will need
Name, phone, emails
Address
Credit card information
40
Identify Special Condition 3
Iteration/loop frame
Opt or Alt frame
41
Identify and Add 4
Output Return Values
On message itself: aValue:=
getValue(valueID)
44
Integrating Requirements
Models
45
Summary