[code generation]模型语言_UML

 UML

 

The UnifiedModeling Language (UML)is a general-purpose, developmental, modeling language in the field of software engineering, thatis intended to provide a standard way to visualize the design of a system.[1]

 

统一模型语言(UML)是一个通用的,可开发的模型语言。它致力于提供一个标准的方式去使系统的设计可视化。

 

Itis important to distinguish between the UML model and the set of diagrams of asystem. A diagram is a partial graphic representation of a system's model. Theset of diagrams need not completely cover the model and deleting a diagram doesnot change the model. The model may also contain documentation that drives themodel elements and diagrams (such as written use cases).

UML 模型和系统示意图是不一样的,示意图是系统数据模型的一个特定图形表达。示意图不需要完全涵盖模型而且删除示意图并不会改变这个模型。这个模型也许也包括了驱动模型元素和示意图的文件。

 

The Object Management Group (OMG) hasdeveloped a metamodeling architecture to define theUnified Modeling Language (UML), called the Meta-Object Facility(MOF).[19] The Meta-Object Facility is designed as afour-layered architecture, as shown in the image at right. It provides ameta-meta model at the top layer, called the M3 layer. This M3-model is thelanguage used by Meta-Object Facility to build metamodels, called M2-models.

 

象管理组织OMG)开了一套原模型体系去定UML, 它叫做元设备MOF. 原模型设备(MOF)设计为4层结构,它在顶层提供一个元元模型(M3 ),它是一种言,元设备MOF)运用它来构造元模型(M2)

 

The most prominent example of a Layer 2Meta-Object Facility model is the UML metamodel, the model that describes theUML itself. These M2-models describe elements of the M1-layer, and thusM1-models. These would be, for example, models written in UML. The last layeris the M0-layer or data layer. It is used to describe runtime instances of thesystem.

 

元对象设备(MOF)第二层模型的最著名实例,就是UML的元模型,这个模型描述了UML本身。这些 M2模型描述了M1 层模型的元素,而最底层是 M0-layer 或者说是数据层,它用来描述系统运行时的实例。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值