UML Domain Modeling

后端 未结 4 2192
醉梦人生
醉梦人生 2021-02-08 14:20

What is the difference between a domain model and a data model?

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-08 15:06

    A datamodel is a design model that only describes data and it's relations. The model contains entities, but they are described in terms of what data they own not how they act on this data or what their responsibilities are.

    An domain model on the other hand, is a conceptual model used in analysis of a problem domain. It describes the domain in terms of entities that have relations, data and behaviour. It describes the responsibilities of those entities as relevant for understanding the problem domain.

    BTW an excelent and very short introduction to UML is:

    UML Distilled: A Brief Guide to the Standard Object Modeling Language

提交回复
热议问题