【计算机英语】Rules should at least be defined as closely as possible to the relevant ...

来源:百度知道 编辑:UC知道 时间:2024/05/02 08:51:53
Rules should at least be defined as closely as possible to the relevant Domain Model classes. By this I don't mean the implementation of the rules themselves but the declarations. We want encapsulation of the usage so that we easily get the "complete" picture of a Domain Model class by inspecting its class.

意思是:规则至少应界定为尽可能密切相关的领域模型类。我这样说并不意味着实施这些规则本身,但声明。我们要封装的使用,使我们很容易得到“完整的”图片的域模型类的检查标准。