0% found this document useful (0 votes)
71 views10 pages

OOSE - Week 05 - Domain Model

This document discusses domain modeling and provides guidance on creating domain models. It defines a domain model as a representation of real-world concepts, not software components. A domain model illustrates meaningful conceptual classes in a problem domain and can show concepts, associations between concepts, and attributes of concepts. The document recommends using class diagrams with no operations defined to visually depict a domain model. It also notes that a domain model describes things in the real world, not the software design. The steps provided to create a domain model include identifying conceptual classes, drawing them in a class diagram, adding necessary associations and attributes, and applying existing analysis patterns. Examples of domain models for a Monopoly game and a point-of-sale system are also included.

Uploaded by

InnoxentDoll
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
71 views10 pages

OOSE - Week 05 - Domain Model

This document discusses domain modeling and provides guidance on creating domain models. It defines a domain model as a representation of real-world concepts, not software components. A domain model illustrates meaningful conceptual classes in a problem domain and can show concepts, associations between concepts, and attributes of concepts. The document recommends using class diagrams with no operations defined to visually depict a domain model. It also notes that a domain model describes things in the real world, not the software design. The steps provided to create a domain model include identifying conceptual classes, drawing them in a class diagram, adding necessary associations and attributes, and applying existing analysis patterns. Examples of domain models for a Monopoly game and a point-of-sale system are also included.

Uploaded by

InnoxentDoll
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Domain model: visualizing

concepts
Applying UML and Patterns
-Craig Larman

Domain Model Relationships


Business Model
Classes, attributes,
associations

Use Case Model

Domain Model
Domain
objects

Elaboration on some terms

Glossary

Requirements
Design

Interaction Diagrams

A Domain Model

illustrates meaningful conceptual classes in a problem


domain.
is a representation of real-world concepts, not software
components.
is NOT a set of diagrams describing software classes, or
software objects and their responsibilities.
It may show:

concepts
associations between concepts
attributes of concepts

Domain Model
UML Notation

Illustrated using a set of class diagrams for which no operations are


defined.
A Domain Model is a description of things
in the real world.
A Domain Model is not a description of
the software design.
A concept is an idea,
thing, or object.

A Domain Model is not a


Software Artifact
A Conceptual class:

Software Artifacts:

Sale

Sales Database

Date
Time

vs.

Sale
Date
Time
Print()
5

Steps to create a
Domain Model
Identify

Candidate Conceptual classes


Draw them in a Domain Model
Add associations necessary to record the
relationships that must be retained
Add attributes necessary for information to
be preserved
Apply existing Analysis Patterns
6

Monopoly Concepts
(candidates)
Monopoly Game

Die

Player

Board

Piece

Square

Monopoly Game domain model


Larman, Figure 9.28

Another Example

The NextGen POS (partial) Domain


Model

10

You might also like