理解生成的SOAP和数据类。
通过修改绑定,甚至通常能在重构数据类的情况下保持相同的XML表示形式。
By modifying the bindings, you can generally even keep the same XML representation as your data classes are refactored.
清单3显示了一对数据类,清单4和清单5则分别给出了这两个类的绑定定义和对应的XML文档。
Listing 3 shows a pair of data classes, with Listings 4 and 5 each giving a different binding definition for these classes along with a corresponding XML document.
fielddescription类只是个简单的数据类,容纳字段名称、签名和字段类型的引用。
The FieldDescription class is just a simple data class that holds the field name, signature, and a reference to the field type.
例如,清单1定义了一个单元测试,该测试使用JUnit来验证一个叫做BeerDaoStub的存根数据类。
For example, Listing 1 defines a unit test that USES JUnit to verify a stubbed out data class called BeerDaoStub.
然而,通过访问者添加新数据类型(类)较为困难,因为访问者模式要求所有具体类型都具有一个visit方法。
Adding new data types (classes) with visitors is difficult, however, as the visitor pattern requires a visit method for all concrete types.
参考 APIs_Reference.html的 3.1和 3.2 节,从响应返回的所有信息都将作为读方法被封装在每个数据类中。
With reference to sections 3.1 and 3.2 of the APIs_Reference.html , all information returned from the responses are encapsulated as getter methods in each data class.
尤其缺乏有关婴儿和孕妇的安全性数据,这两类人群往往不在预先登记的临床试验范围内。
Safety data is particularly lacking for infants and pregnant women, as these populations are frequently not included in pre-registration clinical trials.
物理学家说这个数据在计算像液体渗过不同密度的土壤这一类的问题时很有用。
The physicists say the data will be useful when calculating, for example, how liquids seep through soils of different densities.
我个人倾向于将所有的数据访问逻辑封装到这个类中。
Personally I like the idea of keeping all the data access logic encapsulated in that class.
Spring定义了一致的数据访问异常类层次结构(请参见图12),您可以将其用作服务和DAO 层异常的基础。
Spring defines a coherent data access exception class hierarchy (Figure 12) that you can use as a basis for your service- and DAO-layer exceptions.
清单1给出了一个服务接口和根数据模型类的简单例子。
Listing 1 gives a simple example of a service interface, and a root data model class.
但是,为了简单起见,提供了一个包含完整的MQ数据绑定类实现的单独源文件。
But for simplicity, a separate source file is provided that contains the complete MQ Data Binding class implementation.
为了正确地利用本文中的代码,我们将使用最佳设计实践来构建实用程序/数据访问类。
To properly leverage the code base in this article, we will use design best practices to build utility/data access classes.
换句话说,该中介的接口定义了数据绑定类必须处理的SDO的结构。
In other words, the mediation's interface defines the structure of the SDO that the data binding class must handle.
由JAXB实现负责从数据模型类访问注释信息并在执行xml转换时应用这些注释。
It's up to the JAXB implementation to access the annotation information from the data model classes and apply these annotations when converting to and from XML.
dxlobj和dxldao包是为本文设计的通用数据访问类。
The dxlobj and dxldao packages are the generic data access classes that have been designed for this article.
内核键是一种软件键,它允许内核创建数据保护类,而无需考虑可用的硬件键的数目。
A kernel key is a software key that allows the kernel to create data protection classes, regardless of the number of hardware keys available.
生成的数据模型类对于客户机和服务器都是相同的,即使是由项目构建单独创建的。
The generated data model classes are the same for client and server, even though they're generated separately by the project build.
数据绑定类实现一个预定义的接口,并在SCA应用程序边界作为“导出”或“导入”的一部分进行配置。
The Data Binding class implements a predefined interface and is configured as part of the Export or Import at the boundaries of an SCA application.
图16:需要测量的简单的数据访问接口类。
Figure 16: Example of a simple Data Access Object class that we might want to profile.
getRepositoryDocument()方法可以获取实际的文档数据,即Document类对象。
The getRepositoryDocument() method gets the actual document data, the Document class object.
内部SCAMDB将在该队列上进行侦听,然后,在调用可选配置数据绑定类之后将消息提供给关联的SCA组件。
This is the queue over which the internal SCA MDB would listen on and then deliver messages to the associated SCA component after the optionally configured Data Binding class is invoked.
DB 2 Connection-该数据连接类支持您指定用于连接目标DB 2服务器的连接串。
DB2Connection - the data connection class enables you to specify the connection string used to connect to your target DB2 server.
JSON4J库提供一组易于构造JSON数据格式的类。
The JSON4J library provides a set of classes for easily constructing JSON data formats.
接下来,我们将构建服务并创建JiBX数据绑定包装类。
Next you will build the service and create the JiBX data bindings wrapper classes.
清单1显示了我用作基本数据结构表示的类。
Listing 1 shows the classes I'll use for the basic data structure representation.
在为导出或导入绑定定义了该接口之后,您需要提供处理DataObject和JMS之间转换的数据绑定类。
Once you have defined the interface for an export or import binding, you need to provide the data binding class that handles the conversion between DataObject and JMS.
首先,为所有数据表创建bean类。
当多个JVM在同一台机器上运行时,这将减少存储类数据所需的物理内存量。
This reduces the amount of physical memory required to store class data when multiple JVMs run on the same machine.
应用推荐