【Java开源代码栏目提醒】:以下是网学会员为您推荐的Java开源代码-BspInqSplId.java,希望本篇文章对您学习有所帮助。
package ch17.hibernate;
/**
* BspInqSplId entity.
*
* @author MyEclipse Persistence Tools
*/
public class BspInqSplId implements java.io.Serializable {
// Fields
private String iid;
private String sellerId;
// Constructors
/** default constructor */
public BspInqSplId() {
}
/** full constructor */
public BspInqSplId(String iid, String sellerId) {
this.iid = iid;
this.sellerId = sellerId;
}
// Property accessors
public String getIid() {
return this.iid;
}
public void setIid(String iid) {
this.iid = iid;
}
public String getSellerId() {
return this.sellerId;
}
public void setSellerId(String sellerId) {
this.sellerId = sellerId;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof BspInqSplId))
return false;
BspInqSplId castOther = (BspInqSplId) other;
return ((this.getIid() == castOther.getIid()) || (this.getIid() != null
&& castOther.getIid() != null && this.getIid().equals(
castOther.getIid())))
&& ((this.getSellerId() == castOther.getSellerId()) || (this
.getSellerId() != null
&& castOther.getSellerId() != null && this
.getSellerId().equals(castOther.getSellerId())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getIid() == null ? 0 : this.getIid().hashCode());
result = 37 * result
+ (getSellerId() == null ? 0 : this.getSellerId().hashCode());
return result;
}
}
上一篇:
BspInqSplDAOImpl.java
下一篇:
法律专业开题报告范文