Thus, in addition to encapsulating data, it encapsulates data access logic.
因此,除了封装数据,也封装了数据访问逻辑。
In Figure 3, the gear box represents abstractions that deal generically with some fundamental data structure, and the yellow box represents portable code, encapsulating data inside it.
在图3中,齿轮箱代表处理一些基础数据结构的抽象,而黄色箱代表可移植代码,将数据封装在里面。
The implementation contains methods encapsulating all required SQL statements for data access and manipulation.
该实现包含封装所有用于数据访问和操纵的sql语句的方法。
Encapsulating the mapping in a lookup relationship makes it reusable and increases flexibility by enabling modification of the mapping data at runtime.
查询关系中封装映射时,可通过在运行时支持修改映射来提供可重用性和提高灵活性。
The design can be made a lot cleaner by encapsulating all the state related data and methods into a state machine class.
把所有的状态有关的数据和方法封装到一个状态机类里有利于精简设计。
The design can be made a lot cleaner by encapsulating all the state related data and methods into a state machine class.
把所有的状态有关的数据和方法封装到一个状态机类里有利于精简设计。
应用推荐