我们还增加了一个类映射数据库。
步骤Step4:把类映射到表。
它们也可以被认为是将类映射到新子类的函数。
They can also be thought of as functions mapping classes to new subclasses.
将类映射到数据库表。
图7显示了将每个具体类映射成数据实体时的持久性模型。
Figure 7 presents the persistence model when each concrete class is mapped to a data entity.
mixin可被视为将现有类映射成新子类的函数。
Mixins can be viewed as functions mapping existing classes to new subclasses.
这种X - Y类映射是一种非常狭隘的学习方式。
在这个示例中,需要把book类映射到book元素中的数据。
In this example, you need to map the book class to the data in the book element.
首先将author类映射到dw_authors表。
在前面关联曾被用在通讯中来把模型拥有的每个类映射到一个关联计划。
The relation has been used previously in a correspondence to map each class owned by a model to a table owned by a relational schema.
将UM l类映射为全局元素,将UM l属性映射为本地元素。
It maps UML classes to global elements and UML attributes to local elements.
超类映射支持;超类中定义的属性到列的映射应该可用于它的子类。
Super class mapping support; attribute to column mapping defined in a super class should be available for its child class.
联合表:(可选)将子类映射到与父类映射到的表具有外键关系的表。
Joined table: (Optional) the child class is mapped to a table that has a foreign key relationship to the table to which the parent is mapped.
我将示范的第一个将域类映射到遗留表的策略是使用静态mapping块。
The first strategy I'll demonstrate for mapping your domain class to a legacy table is using a static mapping block.
原因是:mixin和泛型类都能被认为是将现有类映射到新类的函数。
The reason: both mixins and generic classes can be thought of as functions mapping existing classes to new classes.
图8显示了第三种映射策略的解决方案——将单个类映射成单个数据实体。
Figure 8 presents the solution for the third mapping strategy — mapping a single class to a single data entity.
每一个类映射到一个基本的RDBMS概念上,同时也映射到一个jdbc类上。
Each class maps onto a basic RDBMS concept as well as a JDBC class.
请求类:这些类映射到UDDIAPI,用于把请求消息初始化为对应的API。
Request classes: These classes map to the UDDI API, and are used to initiate request messages to the corresponding API.
Castor和Quick还支持将现有类映射到XML,以此作为另一种生成代码的方法。
Castor and Quick also support mapping existing classes to XML as an alternative to using generated code.
XML映射文件描述了如何将类映射到数据库中具体的表,并描述了类与其他类的关系。
XML mapping files describe how a class maps to a particular table in the database, along with any relationships that the class has with other classes.
下面的四节中,每一节都会帮助您熟悉我们的一个类,还有这些类映射到的RDBMS功能。
Each of the next four sections will acquaint you with one of our classes, as well as the RDBMS feature onto which it maps.
下面列出了XML配置文件的一个片段,它展示了如何覆盖一个SQL字符串和用户定义bean类映射。
A fragment of the XML configuration file is listed below, showing how one of the SQL strings and the user-defined bean class mapping are overridden.
比如,您可以改变uml包的名称,生成另外命名的文件夹;您也可以将一个UM l类映射为另外命名的文件。
Just like you can rename a UML package in the mapping model to generate a differently named folder, you can map a UML class to a differently named file.
如果决定将分类法和类别都用作文件夹,那么连接器很可能将一个项目类映射到这两者,以便区分它们。
If I decided to use both the taxonomy and the category as folders, then the connector would then most likely map an item class to each, in order to distinguish them.
通过把并行类映射为PVM任务,请求对象消息映射为请求PVM任务消息来实现并行类对象的分布并行。
Through mapping parallel class to PVM task, request object message to request PVM task message, the mechanism implements object distributed parallelism of the parallel class.
在这个示例中,页面的名称(Home .html)自动与同名类映射(Home . class)。
In this case, the name of the page (Home.html) is automatically matched up with a class by the same name (Home.class).
在映射模型中,假如您想将一个UM l类映射为另外的名称,您需要改变其将要生成文件的名称,而不是类名。
If you map a UML class in the mapping model to a different name, you change the name of the file in which it will be generated but not the generated class in the file.
然后,工作负荷管理的管理员通过在工作负荷管理中创建定义来将事务类映射到服务类,其适用于分配请求的优先级。
The workload management administrator then maps transaction classes to service classes by creating definitions in workload management, which are used to assign the priority of the request.
即使您对部署CICSWeb服务不感兴趣,但您仍然可以利用从UM l类映射得到的db2表的COBOL代码。
Even if you are not interested in deploying CICS Web services, you still can take advantage of having COBOL code that USES a DB2 table that was mapped from the UML class.
这个服务用PHP编写,只拥有两个类:一个是执行函数的服务类,一个是TimeEntryui类映射到的php类。
The service is written in PHP and has only two classes: a service class that does the function and a PHP class to which the TimeEntry UI class is mapped.
应用推荐