3.4 领域消息信息模型 D-MIM D-M IM 是RIM 的派生,它包括在特殊领域中适用的充分扩充的类克隆(class clone), 属性和关系的集。类克隆是用来满足指定目的而设计的 RIM 类的精制的详细说明。
基于16个网页-相关网页
clone class 克隆类
Theses clone classes must have the same name than the Domain class (in a different package) and inherits from LazyGwtPojo.
这些克隆类必须使用和域类本身一样的名字(但两者在不同的包中),并且继承LazyGwtPojo。
Because clone has protected access in Object and, to call clone , you have to call it through a reference to a class that has overridden clone to be public.
因为clone在Object中是保护访问的,调用clone必须通过将clone改写公共访问的类引用来完成。
If a class contains only primitive fields or references to immutable objects, then it is usually the case that no fields in the object returned by super. clone need to be modified.
如果一个类只包含基本字段或对不变对象的引用,那么通常不需要修改super . clone返回的对象中的字段。
应用推荐