...承(Inheritance) 实现Equals()和GetHashCode() 持久化生命周期(Lifecycle)中的回调(Callbacks) 合法性检查(Validatable)回调 用属性替代 XML 持久化类是应用程序用来解决商业问题的类(比如,在电子交易程序中的Customer 和Order)。
基于146个网页-相关网页
validatable text 可验证文字
Listing 7 shows the vendor's Validatable interface.
清单7显示了供应商的validateAddress接口。
Listing 8 shows the resulting aspect where the Email object is statically enhanced to implement the vendor's Validatable interface.
清单8显示了结果方面,其中email静态地得到增强以实现供应商的Validatable接口。
Using fundamental object-oriented design principles, the architecture team may decide to update the Sendable interface to extend the vendor's Validatable interface.
运用基本的面向对象设计原理,体系结构团队决定修改Sendable接口来扩展供应商的Validatable接口。
应用推荐