Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strong>Class diagrams can be used for Domain Model: Conceptual Classes</strong> </p> <p>In Object Oriented analysis, we can create <strong>domain models</strong></p> <blockquote> <p>A domain model is the visual representation of real situation objects in the domain-problem space.</p> </blockquote> <p><em>Why Create Domain Model?</em></p> <p>To understand key concepts and the vocabulary of domain-problem space.</p> <p>And</p> <p><em>While we are developing software classes ,Domain classes give us inspiration.</em></p> <p>For example here is a partial domain model for a Monopoly Game.</p> <p><img src="https://i.stack.imgur.com/YT8MJ.png" alt="enter image description here"></p> <p>In this diagram "Die" is a real world "Die". And our aim is to understand "Monopoly" game.</p> <p><strong>Class diagramas can be used for Implementation : Software Classes</strong> </p> <p>They are classes which we (will) implement in a programming language.They represent software abstractions. They are inspired from domain model but there is no one to one mapping between them.</p> <p>Here is a sample partial simple Software Class diagram for Monopoly Game</p> <p><img src="https://i.stack.imgur.com/BCuuj.png" alt="enter image description here"></p> <p><strong>Even you can use UML class diagram just explaining some concepts in any domain</strong> [ not related to any software development activity]</p> <p><img src="https://i.stack.imgur.com/JZqhM.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload