求JAVA的一些源代码

JAVA初学者,基本的语法学的差不多了,求JAVA一些实例源代码,最好不要太难,几百行代码就可以了/50分悬赏.... JAVA初学者,基本的语法学的差不多了,求JAVA一些实例源代码,最好不要太难,几百行代码就可以了/50分悬赏. 展开
 我来答
lichaoqun132
2010-09-24 · TA获得超过267个赞
知道小有建树答主
回答量:358
采纳率:0%
帮助的人:126万
展开全部
这是一个实体类.

import java.util.Date;

/**
* UserInfo generated by MyEclipse Persistence Tools
*/

public class UserInfo implements java.io.Serializable {

// Fields

private Integer id;

private String name;

private String password;

private String realname;

private String gender;

private String orgDept;

private Integer eduDegree;

private Integer country;

private Integer district;

private Integer phone;

private String email;

private String userRight;

private Date registerTime;

private String registerStatus;

private Date admitTime;

private String adminOper;

private Integer loginNum;

private Date loginLasttime;

private String loginLastIp;

// Constructors

/** default constructor */
public UserInfo() {
}

/** minimal constructor */
public UserInfo(String name, String password, String realname,
String orgDept, Integer phone, String email) {
this.name = name;
this.password = password;
this.realname = realname;
this.orgDept = orgDept;
this.phone = phone;
this.email = email;
}

/** full constructor */
public UserInfo(String name, String password, String realname,
String gender, String orgDept, Integer eduDegree, Integer country,
Integer district, Integer phone, String email, String userRight,
Date registerTime, String registerStatus, Date admitTime,
String adminOper, Integer loginNum, Date loginLasttime,
String loginLastIp) {
this.name = name;
this.password = password;
this.realname = realname;
this.gender = gender;
this.orgDept = orgDept;
this.eduDegree = eduDegree;
this.country = country;
this.district = district;
this.phone = phone;
this.email = email;
this.userRight = userRight;
this.registerTime = registerTime;
this.registerStatus = registerStatus;
this.admitTime = admitTime;
this.adminOper = adminOper;
this.loginNum = loginNum;
this.loginLasttime = loginLasttime;
this.loginLastIp = loginLastIp;
}

// Property accessors

public Integer getId() {
return this.id;
}

public void setId(Integer id) {
this.id = id;
}

public String getName() {
return this.name;
}

public void setName(String name) {
this.name = name;
}

public String getPassword() {
return this.password;
}

public void setPassword(String password) {
this.password = password;
}

public String getRealname() {
return this.realname;
}

public void setRealname(String realname) {
this.realname = realname;
}

public String getGender() {
return this.gender;
}

public void setGender(String gender) {
this.gender = gender;
}

public String getOrgDept() {
return this.orgDept;
}

public void setOrgDept(String orgDept) {
this.orgDept = orgDept;
}

public Integer getEduDegree() {
return this.eduDegree;
}

public void setEduDegree(Integer eduDegree) {
this.eduDegree = eduDegree;
}

public Integer getCountry() {
return this.country;
}

public void setCountry(Integer country) {
this.country = country;
}

public Integer getDistrict() {
return this.district;
}

public void setDistrict(Integer district) {
this.district = district;
}

public Integer getPhone() {
return this.phone;
}

public void setPhone(Integer phone) {
this.phone = phone;
}

public String getEmail() {
return this.email;
}

public void setEmail(String email) {
this.email = email;
}

public String getUserRight() {
return this.userRight;
}

public void setUserRight(String userRight) {
this.userRight = userRight;
}

public Date getRegisterTime() {
return this.registerTime;
}

public void setRegisterTime(Date registerTime) {
this.registerTime = registerTime;
}

public String getRegisterStatus() {
return this.registerStatus;
}

public void setRegisterStatus(String registerStatus) {
this.registerStatus = registerStatus;
}

public Date getAdmitTime() {
return this.admitTime;
}

public void setAdmitTime(Date admitTime) {
this.admitTime = admitTime;
}

public String getAdminOper() {
return this.adminOper;
}

public void setAdminOper(String adminOper) {
this.adminOper = adminOper;
}

public Integer getLoginNum() {
return this.loginNum;
}

public void setLoginNum(Integer loginNum) {
this.loginNum = loginNum;
}

public Date getLoginLasttime() {
return this.loginLasttime;
}

public void setLoginLasttime(Date loginLasttime) {
this.loginLasttime = loginLasttime;
}

public String getLoginLastIp() {
return this.loginLastIp;
}

public void setLoginLastIp(String loginLastIp) {
this.loginLastIp = loginLastIp;
}

}
我的酒窝儿
2010-09-24 · TA获得超过335个赞
知道小有建树答主
回答量:747
采纳率:0%
帮助的人:154万
展开全部
来我的博客里看 里边很多都是源代码
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式