81,092
社区成员
发帖
与我相关
我的任务
分享
private String tmp = "";
private Long topicId =new Long(0);
private Integer forumId = 0;
public void setForumId等setter..myeclipse自动生成
private Long tid =new Long(0);
private Integer fid = 0;
// setter getter
public Long getTid() {
return tid;
}
public void setTid(Long tid) {
this.tid = tid;
}
public Integer getFid() {
return fid;
}
public void setFid(Integer fid) {
this.fid = fid;
}
我把
private Long topicId =new Long(0);
private Integer forumId = 0;
换成了
private Long tid =new Long(0);
private Integer fid = 0;
然后使用myeclipse自动生成 ,结果就可以了..郁闷..不知道怎么一回事
public void setForumId(int forumId){
this.forumId = forumId;
}