The domain is the portions of your IP address class, in reverse order, and then placed within the in-addr.arpa domain.
域是IP地址的类部分(按相反顺序),然后放在 in-addr.arpa域中。
For example, in Figure 3 the solid diamond indicates that the relationship is a composition — in other words, that instances of the address class can only exist within the context of a person class.
比如,图3中的实心菱形表示这里是组合关系——换句话说,address类的实例只能存在于person类的上下文中。
The Address class is tightly coupled with the implementation classes that know how to format the Address object.
address类与知道如何格式化address对象的实现类紧密耦合。
Building the public-immutable-field version of the Address class in Groovy yields a nice clean implementation, shown in Listing 6.
可以使用Groovy来构建公共的不可变域版本的address类,这带来的是一种非常清晰的实现,如清单6所示。
The only difference from the Listing 3 binding definition is that I've added a structure element corresponding to the new Address class.
清单 4绑定定义与 清单3绑定定义的唯一区别在于,我添加了一个structure元素,该元素对应于新的Address类。
Rather, an Address class should think about the parts of the Address, while some type of formatter should worry about how to properly format the address.
然而,Address类应当考虑 Address的各部分,而某种格式化方法应当关注如何正确格式化地址。
The object model has an Address class that has no corresponding table in the database, and the database has an OrderItems table that has no corresponding class.
数据库中有OrderItems表,但是对象模型中并没有与之对应的持久化的类。
The object model has an Address class that has no corresponding table in the database, and the database has an OrderItems table that has no corresponding class.
数据库中有OrderItems表,但是对象模型中并没有与之对应的持久化的类。
应用推荐