Lecture 13 - Requirements Modeling - Scenario, Information and Analysis Classes
Lecture 13 - Requirements Modeling - Scenario, Information and Analysis Classes
Requirements Modeling -
Scenario, Information and
Analysis Classes
Muhammad Nasir
[email protected]
Agenda
Requirement Analysis
UML Models that Supplement the Use-cases
Activity Diagram
SwimLane Diagram
Data Models
Elements of Analysis Model
UML Models that Supplement
Use Case Model
There are many requirements
modeling situations in which a text-
based model—
even one as simple as a use case—
may not impart information in a clear
and concise manner.
In such cases, you can choose from a
broad array of UML graphical models.
Developing an Activity Diagram
Database
An organized collection of logically
related data.
Data
Stored representations of objects and
events that have meaning and
importance in the user’s environment.
Data Modeling
Information
Data that have been processed in
such a way as to increase the
knowledge of the person who uses
the data.
Data Modeling
Relational Database
A database that represents data as
a collection of tables in which all
data relationships are represented
by common values in related
tables.
Data Modeling
Database application
An application program (or set of
related programs) that is used to
perform a series of database
activities (create, read, update, and
delete) on behalf of database users.
Data Modeling
Entity
A person, a place, an object, an
event, or a concept in the user
environment about which the
organization wishes to maintain
data.
Data Modeling
Attribute
A property or characteristic of an entity or
relationship type that is of interest to
the organization
Data Relationships
Relationships are the glue that holds
together the various components of an E-R
model.
A relationship is an association
representing an interaction among the
instances of one or more entity types that
is of interest to the organization
Thus, a relationship has a verb phrase
name
Data Relationships
Relationships and their
characteristics (degree and
cardinality) represent business rules
As well as crucial for controlling the
integrity of a database
Data Relationships
Relationship type
A meaningful association between (or
among) entity types.
The phrase meaningful association
implies that the relationship allows us
to answer questions that could not
be answered given only the entity
types
Data Relationships
Associative entity
An entity type that associates the
instances of one or more entity types
and contains attributes that are
peculiar to the relationship between
those entity instances
Data Relationships
Data Relationships
Degree of a Relationship
Degree
The number of entity types that participate
in a relationship
Unary Relationship
A relationship between instances of a single
entity type.
Degree of a Relationship
Binary relationship
A relationship between the instances of two
entity types
Ternary Relationship
A simultaneous relationship among the
instances of three entity types
Data Relationships
Data Relationships
Data Relationships
Data Relationships
Cardinality constraint
A rule that specifies the number of
instances of one entity that can (or
must) be associated with each
instance of another entity
Data Relationships
Minimum cardinality
The minimum number of instances of one
entity that may be associated with each
instance of another entity
Maximum cardinality
The maximum number of instances of one
entity that may be associated with each
instance of another entity
Data Relationships
Data Relationships
The End
Thanks for listening
Questions would be appreciated.