怎么将(po)持久化对象转化为vo(值对象)
例如
po对象中有三个属性
private int id;
private String name;
private String password;
vo对象中有两个属性
private String name;
private String password;SSH
例如
po对象中有三个属性
private int id;
private String name;
private String password;
vo对象中有两个属性
private String name;
private String password;SSH
解决方案 »
- List<Map<Title, List<TitleSon>>>转换json格式
- 菜鸟求解webapp发布问题!
- struts2+Json+Prototype出There is no Action mapped for namespace 错误
- 请问Could not find datasource: java:jdbc/mycms 异常怎么解决?
- 文件上传下载(EXCEL)
- 每一天上班
- 有关jboss部署ejb的问题.
- tomcat启动时出现 严重:Error starting static Resources java.lang.IllegalArgumentException: Document base D:\Tomcat 5.0\webapps\ba
- 又是有关JDOM的编码问题,希望用过的朋友能解答一下。
- Socket网络层底层原理问题
- java 字符串转换成时间格式字符串的方法
- fastjson的JSONObject的问题
List<ElecCommonMsg> list){此处写copy代码}怎么将list的东西copy到ElecCommonMsg中
ElecCommonMsg中为
public class ElecCommonMsg {
private String comID;
private String stationRun;
private String devRun;
private Date createDate;
}
此处是ElecCommonMsgForm类
public class ElecCommonMsgForm implements Serializable{
private String comID;
private String stationRun;
private String devRun;
private Date createDate;