In a mapping model, you can specify exactly where a UML element should be mapped to in the target project and what should be its name.
在一个映射模型中,您可以具体地指定一个UML元素应该映射到目标项目中的什么地方,以及它的名字。
Figure 20 details an example of Model to Model mapping.
图20详细展示了一个模型到模型映射的例子。
If this is the case, you can move directly to the UCM model with no mapping from your current model.
如果是这种情况,你可以直接转换到UCM模型,而不用从你的当前模型进行映射。
Create a new mapping model between each pair of data source models.
在每一对数据源模型之间建立一个新的映射模型。
Generate target schema from mapping model.
从映射模型产生目标计划。
You can easily do this by selecting the mapping group details view in the resulting mapping model.
你可以通过选择结果映射模型中的映射组细节来轻松的完成这些工作。
This article will discuss the usage of a mapping model to direct code generation into files other than default ones.
本篇文章将讨论映射模型的使用方法,控制代码自动产生到除默认文件之外的其它文件。
Establish the manual mapping between renamed model elements, as shown in Figure 21.
创建重命名模型元素之间的手动映射,如图21所示。
Using a mapping model, you can rename modeled elements in the generated code.
使用映射模型,您能够在生成的代码中重命名模型的元素。
You could have one mapping model for two sources, three mapping models for three sources, six mapping models for four sources — all counting just one direction of models.
你可以使两个资源拥有一个映射模型,三个资源拥有三个映射模型,四个资源拥有六个映射模型——这些都随模型的变化而变化。
Create a new mapping model between each data source model and the federated model.
在每一个数据源模型和联邦模型之间建立映射模型。
You can specify this model as the mapping model in the transformation configuration editor.
您可以在转变调试编辑器中指定模型为映射模型。
Mappings identified by RDA can be accepted or rejected into the mapping model, allowing the modeler to retain control over the mapping exercise.
RDA所识别的映射可以接受到映射模型中,也可以拒绝,这使得建模者可以保持对映射的控制。
Applying a pattern to your model involves mapping the generic roles in the pattern solution to specific domain classes within your model.
要将模式应用到模型,涉及到将模式解决方案中的通用规则映射到模型中特定的域类。
Also, after reading this article, you should be able to model partial and generic types, and use a mapping model to design the file system view of the source code.
在阅读了本篇文章后,您应该学会建立分部及通用类型的模型,和使用映射模型来设计源代码的文件系统概览。
Notice that specifying alternate names in a mapping model does not modify the source model.
注意在映射模型中指定一个名字,并不会改变源模型。
Figure 6 presents the updated persistence model for mapping the entire class hierarchy into one data entity.
图6显示了一个更新过的持久性模型,用于将整个类层次结构映射成一个数据实体。
Click OK to save the updated mapping model.
点击OK以保存更新后的映射模型。
JPA supports mapping your domain model using external XML mapping files.
JPA使用外部xml映射文件支持映射您的域模型。
If you use the pull model, the mapping is simple and easy to maintain.
如果您使用拉模型,映射很简单且易于维护。
The name of the class itself is not affected by the mapping model.
类的名称并不受映射模型的影响。
Step 3: Mapping a model to a schema
步骤3:把模型映射到计划
To do this, create a mapping model as follows.
为了完成本项,建立以下映射模型。
Click the New button to create a default mapping model and give it an appropriate name.
单击new按钮,创建一个默认的映射模型,赋给一个适合的名称。
To do this, create a GMFGen model from your mapping definition model.
这需要您先通过映射定义模型创建一个GMFGen模型。
Create a new mapping model by clicking new, next to the mapping model file name, or select an existing mapping model by clicking the browse button (...), as shown in Figure13.
点击映射模型文件名字旁边的New,或者点击浏览按钮(…)来选择一个已存在的映射模型,来创建一个新的映射模型,如图13所示。
As shown in Figure 10, you can either use an existing model for the mapping or create a new mapping model by clicking new.
正如图10种所示的那样,您既可以使用一个已经存在的模型进行映射,也可以通过点击new创建一个新的映射模型。
You can choose any available project to store the Mapping model, but the Mapping model must be created in the same workspace where the source model is stored.
您可以选择任意的项目,以存储Mapping模型,但是该Mapping模型必须存储在存储源模型的地方。
This is the first time that this example is using a relation as a declarative statement to define an expression (in other words, a value assignment) instead of using it for model-to-model mapping.
这是本例子第一次把关联作为一个定义表达式(换句话说,一个赋值语句)的声明性陈述来使用,而不是用它作模型到模型的映射。
This is the first time that this example is using a relation as a declarative statement to define an expression (in other words, a value assignment) instead of using it for model-to-model mapping.
这是本例子第一次把关联作为一个定义表达式(换句话说,一个赋值语句)的声明性陈述来使用,而不是用它作模型到模型的映射。
应用推荐