?? examtableid.java
字號:
package exam.dao;
/**
* ExamTableId entity. @author MyEclipse Persistence Tools
*/
public class ExamTableId implements java.io.Serializable {
// Fields
private Integer examid;
private Integer testpaperid;
// Constructors
/** default constructor */
public ExamTableId() {
}
/** full constructor */
public ExamTableId(Integer examid, Integer testpaperid) {
this.examid = examid;
this.testpaperid = testpaperid;
}
// Property accessors
public Integer getExamid() {
return this.examid;
}
public void setExamid(Integer examid) {
this.examid = examid;
}
public Integer getTestpaperid() {
return this.testpaperid;
}
public void setTestpaperid(Integer testpaperid) {
this.testpaperid = testpaperid;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof ExamTableId))
return false;
ExamTableId castOther = (ExamTableId) other;
return ((this.getExamid() == castOther.getExamid()) || (this
.getExamid() != null
&& castOther.getExamid() != null && this.getExamid().equals(
castOther.getExamid())))
&& ((this.getTestpaperid() == castOther.getTestpaperid()) || (this
.getTestpaperid() != null
&& castOther.getTestpaperid() != null && this
.getTestpaperid().equals(castOther.getTestpaperid())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getExamid() == null ? 0 : this.getExamid().hashCode());
result = 37
* result
+ (getTestpaperid() == null ? 0 : this.getTestpaperid()
.hashCode());
return result;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -