文件名称:ModelUtil
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2015-08-20
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
主要功能实现两个相同类数据的替换,一般应用于
前端数据采集后封装的类,将数据替换到后台返回的实体类中,用于修改,很实用。包含重载的copy方法(Object obj, Object target, boolean setNull)。 obj:前端收集的数据对象,target:从后台返回的对象,setNull,如果前端数据为空,是否可以将空值插入到target对象中,默认false-Replace the two main functions to achieve the same type of data, generally used
Front-end data acquisition package after class, will replace the data back to the entity class returned for modifying, very practical. Copy method (Object obj, Object target, boolean setNull) contains overloaded. obj: front-end collection of data objects, target: the object returned backstage, setNull, if the front-end data is empty, can be inserted into the target object is null, the default false
前端数据采集后封装的类,将数据替换到后台返回的实体类中,用于修改,很实用。包含重载的copy方法(Object obj, Object target, boolean setNull)。 obj:前端收集的数据对象,target:从后台返回的对象,setNull,如果前端数据为空,是否可以将空值插入到target对象中,默认false-Replace the two main functions to achieve the same type of data, generally used
Front-end data acquisition package after class, will replace the data back to the entity class returned for modifying, very practical. Copy method (Object obj, Object target, boolean setNull) contains overloaded. obj: front-end collection of data objects, target: the object returned backstage, setNull, if the front-end data is empty, can be inserted into the target object is null, the default false
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ModelUtil.java