?? abstractloginuserid.java
字號:
package hibernatedao;
/**
* AbstractLoginuserId generated by MyEclipse Persistence Tools
*/
public abstract class AbstractLoginuserId implements java.io.Serializable {
// Fields
private String usernickname;
private String password;
// Constructors
/** default constructor */
public AbstractLoginuserId() {
}
/** full constructor */
public AbstractLoginuserId(String usernickname, String password) {
this.usernickname = usernickname;
this.password = password;
}
// Property accessors
public String getUsernickname() {
return this.usernickname;
}
public void setUsernickname(String usernickname) {
this.usernickname = usernickname;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof AbstractLoginuserId))
return false;
AbstractLoginuserId castOther = (AbstractLoginuserId) other;
return ((this.getUsernickname() == castOther.getUsernickname()) || (this
.getUsernickname() != null
&& castOther.getUsernickname() != null && this
.getUsernickname().equals(castOther.getUsernickname())))
&& ((this.getPassword() == castOther.getPassword()) || (this
.getPassword() != null
&& castOther.getPassword() != null && this
.getPassword().equals(castOther.getPassword())));
}
public int hashCode() {
int result = 17;
result = 37
* result
+ (getUsernickname() == null ? 0 : this.getUsernickname()
.hashCode());
result = 37 * result
+ (getPassword() == null ? 0 : this.getPassword().hashCode());
return result;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -