Professional Documents
Culture Documents
Requirement
Engineering
Requirements modelling in data perspective
Model-based Requirements Documentation
• Use cases and scenarios document exemplary sequences of system usage. Scenarios
are grouped together in use cases.
• System requirements (generally referred to as requirements) describe detailed
functions and qualities that the system to be developed shall implement or possess.
2
3
Models Division
A model from Prospective point of view can be both descriptive as well as prescriptive
2. Reduction of reality
Models reduce the mapped reality. It is common to differentiate
between selection and compression.
During selection, only particular aspects that are part of the
universe of the system are modelled.
In contrast, aspects of the subject-matter of the system are
summarized during compression
Properties of Models
7
Requirements Models
• Conceptual models that document the requirements of a
system are called requirements models.
• The Unified Modeling Language (UML) is frequently used to
construct requirements models.
8
Requirements models vs. design models
• Data Perspective
• Functional Perspective
• Behavioral Perspective
15
Three Perspectives on the Requirements (Cont.)
Data Perspective
• In this perspective, the structures of input and output data
as well as static-structural aspects of the usage and
dependency relationships of the system in the system
context are documented.
16
Three Perspectives on the Requirements (Cont.)
Functional Perspective
• This perspective documents which information of the
system context is being manipulated by the system to be
developed and which data is being transmitted to the
system context by the system.
17
Three Perspectives on the Requirements (Cont.)
Behavioral Perspective
• Documenting the reaction of the system to events within the system
context
• Documenting the conditions that trigger a state change, or
• Documenting the effects that the system has on its environment.
18
Requirements Modeling in Data Perspective
19
Entity-Relationships Diagrams
20
Modeling Elements of Entity-Relationship Diagram
21
Modeling Elements of Entity-Relationship Diagram (Cont.)
Entity types
• Abstraction from concrete objects
• define a set of entities within the universe of discourse (that is, objects
with the same properties, such as people or items).
• For instance, the entity type “pilot” classifies all people within the
universe of discourse that have the characteristic of holding a piloting
license.
22
Modeling Elements of Entity-Relationship Diagram (Cont.)
Relation Type
• A relation type abstracts from a concrete characteristic of a relationship
and of entities that are in relation to one another.
• A relation type classifies the set of uniform relations between entity types
within the universe of discourse.
23
Modeling Elements of Entity-Relationship Diagram (Cont.)
Relation Type
• For example, the relation type “executes” can be defined between the two
entity types “pilot” and “flight” to represent concrete “executes”-relations
between concrete pilots and concrete flights.
• Possible attributes for the entity type “passenger” could be “family name”,
“given name”, “passport number”, and “reserved seat”.
25
Modeling Elements of Entity-Relationship Diagram (Cont.)
Cardinality
• The cardinality of a (binary) relation defines the number of relation instances that
an entity may participate in.
• Using cardinalities for relations therefore limits the number of instances that are
principally possible in an entity-relationship diagram. 26
Example of an Entity-Relation Diagram
27