Building design models that abstract your implementation model and source code.
构建抽象你的实施模型和源代码的设计模型。
And, since our two mapped classes (Building and Land) inherit from Estate, we can use this abstract superclass in our HQL queries, as shown in Listing 14.
而且,因为两个映射的类(Building和Land)是从estate中继承而来,所以我们可以在HQL查询中使用这个抽象超类,如清单14所示。
If this were my project, I would abstract the entire parameter-handling mechanism to its own set of classes, essentially building a subframework within Struts.
如果是我的项目,我会将整个参数处理机制抽象到它自己的一组类中,构建 Struts 中的一个子框架。
应用推荐