/*
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*
* Created Tue Aug 14 18:57:22 CST 2007 by MyEclipse Hibernate Tool.
*/
package com.demo.hibernate.beans;
import java.io.Serializable;
/**
* A class that represents a row in the user table.
* You can customize the behavior of this class by editing the class, {@link User()}.
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*/
public abstract class AbstractUser implements Serializable {
/** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */
private int hashValue = 0;
/** The composite primary key value. */
private java.lang.Integer id;
/** The value of the simple username property. */
private java.lang.String username;
/** The value of the simple password property. */
private java.lang.String password;
/** The value of the simple email property. */
private java.lang.String email;
/**
* Simple constructor of AbstractUser instances.
*/
public AbstractUser() {
}
/**
* Constructor of AbstractUser instances given a simple primary key.
* @param id
*/
public AbstractUser(java.lang.Integer id) {
this.setId(id);
}
/**
* Return the simple primary key value that identifies this object.
* @return java.lang.Integer
*/
public java.lang.Integer getId() {
return id;
}
/**
* Set the simple primary key value that identifies this object.
* @param id
*/
public void setId(java.lang.Integer id) {
this.hashValue = 0;
this.id = id;
}
/**
* Return the value of the username column.
* @return java.lang.String
*/
public java.lang.String getUsername() {
return this.username;
}
/**
* Set the value of the username column.
* @param username
*/
public void setUsername(java.lang.String username) {
this.username = username;
}
/**
* Return the value of the password column.
* @return java.lang.String
*/
public java.lang.String getPassword() {
return this.password;
}
/**
* Set the value of the password column.
* @param password
*/
public void setPassword(java.lang.String password) {
this.password = password;
}
/**
* Return the value of the email column.
* @return java.lang.String
*/
public java.lang.String getEmail() {
return this.email;
}
/**
* Set the value of the email column.
* @param email
*/
public void setEmail(java.lang.String email) {
this.email = email;
}
/**
* Implementation of the equals comparison on the basis of equality of the primary key values.
* @param rhs
* @return boolean
*/
public boolean equals(Object rhs) {
if (rhs == null)
return false;
if (!(rhs instanceof User))
return false;
User that = (User) rhs;
if (this.getId() == null || that.getId() == null)
return false;
return (this.getId().equals(that.getId()));
}
/**
* Implementation of the hashCode method conforming to the Bloch pattern with
* the exception of array properties (these are very unlikely primary key types).
* @return int
*/
public int hashCode() {
if (this.hashValue == 0) {
int result = 17;
int idValue = this.getId() == null ? 0 : this.getId().hashCode();
result = result * 37 + idValue;
this.hashValue = result;
}
return this.hashValue;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
javaweb主流框架整合开发struts+spring+hibernate例子
共140个文件
jar:57个
class:14个
java:12个
需积分: 10 7 下载量 69 浏览量
2012-11-22
09:36:44
上传
评论
收藏 16MB ZIP 举报
温馨提示
javaweb主流框架整合开发struts+spring+hibernate例子
资源推荐
资源详情
资源评论
收起资源包目录
javaweb主流框架整合开发struts+spring+hibernate例子 (140个子文件)
logo8.bmp 4KB
logo7.bmp 4KB
logo6.bmp 4KB
logo5.bmp 4KB
RegisterAction.class 4KB
LoginAction.class 4KB
RegisterForm.class 3KB
LogoutAction.class 2KB
UserDAO.class 2KB
AbstractUser.class 2KB
LoginForm.class 2KB
UserDAO$1.class 1KB
UserDAO$2.class 1KB
LoggingInterceptor.class 1KB
RegExpression.class 901B
Constants.class 503B
User.class 478B
IUserDAO.class 437B
.classpath 845B
org.eclipse.wst.common.component 414B
org.eclipse.wst.jsdt.ui.superType.container 49B
Thumbs.db 21KB
spring.jar 2.57MB
hibernate3.jar 1.6MB
itext-1.3.jar 1.09MB
db-ojb-1.0.4.jar 917KB
jasperreports-1.0.2.jar 829KB
poi-2.5.1.jar 783KB
freemarker.jar 767KB
jxl.jar 597KB
commons-collections-3.1.jar 546KB
struts.jar 537KB
mysql-connector-java-5.0.8-bin.jar 528KB
c3p0-0.9.0.jar 476KB
antlr-2.7.5H3.jar 423KB
jmxri.jar 357KB
velocity-1.4.jar 353KB
antlr.jar 350KB
log4j-1.2.12.jar 350KB
log4j-1.2.9.jar 344KB
quartz-1.5.0.jar 324KB
cglib-nodep-2.1_2.jar 317KB
dom4j-1.6.jar 306KB
ibatis-sqlmap-2.jar 284KB
commons-httpclient.jar 273KB
commons-lang.jar 203KB
jmxremote_optional.jar 202KB
commons-beanutils.jar 184KB
sitemesh-2.3.jar 178KB
jmxremote.jar 172KB
commons-digester.jar 164KB
hibernate-annotations.jar 128KB
jotm.jar 121KB
junit.jar 118KB
ibatis-sqlmap.jar 117KB
commons-dbcp.jar 105KB
commons-dbcp-1.2.1.jar 105KB
xapool.jar 90KB
JAMon.jar 88KB
burlap-2.1.12.jar 83KB
commons-validator.jar 82KB
ibatis-common-2.jar 82KB
hessian-2.1.12.jar 81KB
jdo2.jar 74KB
jakarta-oro.jar 64KB
jakarta-oro-2.0.8.jar 64KB
velocity-tools-view-1.1.jar 63KB
cos.jar 55KB
toplink-api.jar 49KB
ehcache-1.1.jar 46KB
commons-pool-1.2.jar 41KB
commons-logging.jar 37KB
easymock.jar 36KB
commons-attributes-api.jar 35KB
commons-attributes-compiler.jar 29KB
commons-fileupload.jar 22KB
velocity-tools-generic-1.1.jar 14KB
easymockclassextension.jar 12KB
jta.jar 9KB
AbstractUser.java 3KB
RegisterAction.java 3KB
LoginAction.java 3KB
RegisterForm.java 2KB
UserDAO.java 2KB
LogoutAction.java 1KB
LoginForm.java 1KB
RegExpression.java 947B
User.java 603B
IUserDAO.java 403B
LoggingInterceptor.java 341B
Constants.java 282B
.jsdtscope 454B
register.jsp 3KB
login.jsp 2KB
welcome.jsp 2KB
frame.jsp 1KB
menu3.jsp 5B
menu4.jsp 5B
menu1.jsp 5B
menu2.jsp 5B
共 140 条
- 1
- 2
资源评论
在飞
- 粉丝: 77
- 资源: 92
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 前端开发-什么是前端开发-关于前端开发的一些相关介绍
- Sora AI-关于文生视频的使用场景说明
- suno AI文生视频的相关教程和介绍使用
- 什么是后端开发-关于后端开发的一些小介绍分享
- Jurassic Pack Vol. II Dinosaurs 侏罗纪包卷恐龙二号Unity游戏模型资源unitypackage
- Jurassic Pack Vol. III Dinosaurs 侏罗纪包卷恐龙三号Unity游戏模型资源unitypackag
- Ultimate Seating Controller 终极座椅控制器Unity游戏开发插件资源unitypackage
- 什么是人工智能-关于人工智能的相关介绍说明
- Figma Converter for Unity适用Unity的Figma转换器Unity游戏开发插件unitypackage
- Creepy Animatronic Anims 令人毛骨悚然的电子动画Unity游戏动画插件资源unitypackage
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功