2. Context Layer
System Layer
Requirements Layer
Stakeholder Model Objectives
& Goals
Constraints
& Rules
!
!
!
!
!
Data Model
E
A
A
A
E
System Vision
Functional
Hierarchy
Architecture Overview
System
Function Model
Fun 1
Fun 2
Component Model
C C
Data Model
E
A
A
A
E
Behaviour Model
Business Case
Deployment Requirements
System Constraints
Domain Model
Service ModelUsage Model
Quality Requirements
Risk List
Project Scope
Process Requirements
Glossary
Glossary
Glossary
Today‘s learning goals
• What is a domain model?
– Defini?on, characteris?cs
– Rela?ons to other RE content
• Overview of
– Types of domain models
– Method for development
• Domain model in AMDiRE
• What are typical problems?
2
6. Features
• Domain classes – each domain class denotes a type of object
– Business objects: things manipulated in the business, e.g., Order
– Real world objects: things the business keeps track of, e.g., Contact,
Site
– Events that transpire, e.g. Sale and Payment
• A<ributes – an aMribute is the descrip?on of a named slot of a
specified type in a domain class; each instance of the class
separately holds a value, e.g. name or ID
• Associa>ons – an associa?on is a rela?onship between two (or
more) domain classes that describes links between their object
instances, e.g., owns. Associa?ons can have roles, describing the
mul?plicity and par?cipa?on of a class in the rela?onship, e.g.
employee.
• Addi>onal rules – complex rules that cannot be shown with
symbology can be shown with aMached notes.
Dr. Birgit Penzenstadler 6
12. How to develop a DM
• Make a list of candidate domain classes – iden?fy nouns.
• Draw these classes in a UML class diagram.
• If possible, add brief descrip>ons for the classes.
• Iden?fy any associa>ons that are necessary.
• Decide if some domain classes are really just a<ributes.
• Where helpful, iden?fy role names and mul>plicity for
associa?ons.
• Add any addi?onal sta>c rules as UML notes that cannot
be conveyed with UML symbols.
• Group diagrams/domain classes by category into
packages.
Dr. Birgit Penzenstadler 12
17. Elabora?on in
AMDiRE
• Hand sketch (draJ)
• Class diagram (itera?on)
Dr. Birgit Penzenstadler 17
Context Layer
System Layer
Requirements Layer
Stakeholder Model Objectives
& Goals
Constraints
& Rules
!
!
!
!
!
Data Model
E
A
A
A
E
System Vision
Functional
Hierarchy
Architecture Overview
System
Function Model
Fun 1
Fun 2
Component Model
C C
Data Model
E
A
A
A
E
Behaviour Model
Business Case
Deployment Requirements
System Constraints
Domain Model
Service ModelUsage Model
Quality Requirements
Risk List
Project Scope
Process Requirements
Glossary
Glossary
Glossary