package examples.model;
// Generated 2008-10-30 21:30:53 by Hibernate Tools 3.2.1.GA
import java.math.BigDecimal;
import java.util.Date;
/**
* TempId generated by hbm2java
*/
public class TempId implements java.io.Serializable {
private String accountId;
private String type;
private String description;
private BigDecimal balance;
private BigDecimal creditLine;
private BigDecimal beginBalance;
private Date beginBalanceTimeStamp;
public TempId() {
}
public TempId(String accountId, String type, String description,
BigDecimal balance, BigDecimal creditLine, BigDecimal beginBalance,
Date beginBalanceTimeStamp) {
this.accountId = accountId;
this.type = type;
this.description = description;
this.balance = balance;
this.creditLine = creditLine;
this.beginBalance = beginBalance;
this.beginBalanceTimeStamp = beginBalanceTimeStamp;
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public BigDecimal getBalance() {
return this.balance;
}
public void setBalance(BigDecimal balance) {
this.balance = balance;
}
public BigDecimal getCreditLine() {
return this.creditLine;
}
public void setCreditLine(BigDecimal creditLine) {
this.creditLine = creditLine;
}
public BigDecimal getBeginBalance() {
return this.beginBalance;
}
public void setBeginBalance(BigDecimal beginBalance) {
this.beginBalance = beginBalance;
}
public Date getBeginBalanceTimeStamp() {
return this.beginBalanceTimeStamp;
}
public void setBeginBalanceTimeStamp(Date beginBalanceTimeStamp) {
this.beginBalanceTimeStamp = beginBalanceTimeStamp;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof TempId))
return false;
TempId castOther = (TempId) other;
return ((this.getAccountId() == castOther.getAccountId()) || (this
.getAccountId() != null
&& castOther.getAccountId() != null && this.getAccountId()
.equals(castOther.getAccountId())))
&& ((this.getType() == castOther.getType()) || (this.getType() != null
&& castOther.getType() != null && this.getType()
.equals(castOther.getType())))
&& ((this.getDescription() == castOther.getDescription()) || (this
.getDescription() != null
&& castOther.getDescription() != null && this
.getDescription().equals(castOther.getDescription())))
&& ((this.getBalance() == castOther.getBalance()) || (this
.getBalance() != null
&& castOther.getBalance() != null && this.getBalance()
.equals(castOther.getBalance())))
&& ((this.getCreditLine() == castOther.getCreditLine()) || (this
.getCreditLine() != null
&& castOther.getCreditLine() != null && this
.getCreditLine().equals(castOther.getCreditLine())))
&& ((this.getBeginBalance() == castOther.getBeginBalance()) || (this
.getBeginBalance() != null
&& castOther.getBeginBalance() != null && this
.getBeginBalance().equals(castOther.getBeginBalance())))
&& ((this.getBeginBalanceTimeStamp() == castOther
.getBeginBalanceTimeStamp()) || (this
.getBeginBalanceTimeStamp() != null
&& castOther.getBeginBalanceTimeStamp() != null && this
.getBeginBalanceTimeStamp().equals(
castOther.getBeginBalanceTimeStamp())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getAccountId() == null ? 0 : this.getAccountId().hashCode());
result = 37 * result
+ (getType() == null ? 0 : this.getType().hashCode());
result = 37
* result
+ (getDescription() == null ? 0 : this.getDescription()
.hashCode());
result = 37 * result
+ (getBalance() == null ? 0 : this.getBalance().hashCode());
result = 37
* result
+ (getCreditLine() == null ? 0 : this.getCreditLine()
.hashCode());
result = 37
* result
+ (getBeginBalance() == null ? 0 : this.getBeginBalance()
.hashCode());
result = 37
* result
+ (getBeginBalanceTimeStamp() == null ? 0 : this
.getBeginBalanceTimeStamp().hashCode());
return result;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
struts+guice+hibernate
共86个文件
xml:30个
java:23个
class:23个
需积分: 3 22 下载量 143 浏览量
2008-11-10
17:46:16
上传
评论
收藏 56KB RAR 举报
温馨提示
struts+guice+hibernate实现的Duke银行转账。
资源推荐
资源详情
资源评论
收起资源包目录
DukeDBWithDraw(Guice).rar (86个子文件)
DukeDBWithDraw
.project 1KB
.settings
org.eclipse.wst.common.component 488B
org.eclipse.jst.j2ee.ejb.annotations.xdoclet.prefs 148B
org.eclipse.jdt.core.prefs 330B
org.eclipse.wst.common.project.facet.core.xml 269B
org.eclipse.jst.common.project.facet.core.prefs 364B
org.hibernate.eclipse.console.prefs 125B
WebRoot
WEB-INF
web.xml 2KB
lib
META-INF
context.xml 441B
MANIFEST.MF 25B
Success.jsp 402B
WithDraw.jsp 683B
src
examples
dao
TxDao.java 502B
AccountDao.java 620B
impl
TxDaoImpl.java 974B
AccountDaoImpl.java 945B
inject
MyModule.java 1KB
action
WithDrawAction-Validation.xml 1KB
WithDrawAction.java 1KB
model
TUser.hbm.xml 754B
Temp.java 394B
Syssegments.hbm.xml 870B
TGroup.hbm.xml 811B
DtpropertiesId.java 1KB
Syssegments.java 450B
TempId.java 4KB
Sysconstraints.hbm.xml 1KB
Dtproperties.java 1KB
Dtproperties.hbm.xml 1KB
Customer.hbm.xml 2KB
SyssegmentsId.java 2KB
Tx.java 2KB
Tx.hbm.xml 1KB
Account.hbm.xml 2KB
TGroup.java 903B
Customer.java 3KB
NextId.hbm.xml 649B
Account.java 2KB
TUser.java 806B
SysconstraintsId.java 4KB
Sysconstraints.java 474B
NextId.java 736B
Temp.hbm.xml 1KB
tools
HibernateUtil.java 2KB
service
BusinessService.java 698B
impl
BusinessServiceImpl.java 4KB
factory
struts.xml 825B
hibernate.cfg.xml 1KB
hibernate.reveng.xml 446B
build
classes
examples
dao
TxDao.class 353B
impl
TxDaoImpl.class 1KB
AccountDaoImpl.class 1KB
AccountDao.class 399B
inject
MyModule.class 851B
action
WithDrawAction.class 2KB
WithDrawAction-Validation.xml 1KB
model
Account.class 3KB
TGroup.class 2KB
Customer.class 4KB
Sysconstraints.class 702B
TUser.hbm.xml 754B
Syssegments.hbm.xml 870B
TGroup.hbm.xml 811B
SysconstraintsId.class 3KB
Sysconstraints.hbm.xml 1KB
TempId.class 3KB
Temp.class 642B
Dtproperties.hbm.xml 1KB
Dtproperties.class 2KB
Syssegments.class 684B
Customer.hbm.xml 2KB
DtpropertiesId.class 1KB
Tx.hbm.xml 1KB
Account.hbm.xml 2KB
NextId.hbm.xml 649B
Tx.class 2KB
NextId.class 1KB
Temp.hbm.xml 1KB
TUser.class 1KB
SyssegmentsId.class 2KB
tools
HibernateUtil.class 2KB
service
impl
BusinessServiceImpl.class 4KB
BusinessService.class 355B
factory
struts.xml 825B
hibernate.cfg.xml 1KB
.classpath 1KB
共 86 条
- 1
资源评论
to515356072
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功