UML 领域建模 [英] UML Domain Modeling

查看:26
本文介绍了UML 领域建模的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

领域模型和数据模型有什么区别?

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

推荐答案

数据模型是一种设计模型,它只描述数据及其关系.该模型包含实体,但根据它们拥有的数据而不是它们如何处理这些数据或它们的职责是什么来描述它们.

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.

顺便说一句,对 UML 的优秀且非常简短的介绍是:

BTW an excelent and very short introduction to UML is:

UML 精粹:标准对象建模简要指南语言

这篇关于UML 领域建模的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆