📄 softwarepk.java
字号:
package org.openacs;
/**
* This is the bean class for the SoftwareBean enterprise bean.
* Created 2007.11.24 18.22.55
* @author Administrator
*/
public final class SoftwarePK implements java.io.Serializable {
public java.lang.Integer hwid;
public java.lang.String version;
/**
* @see java.lang.Object#equals(java.lang.Object)
*/
public SoftwarePK () {
}
public SoftwarePK (Integer hwid, String v) {
this.hwid = hwid;
version = v;
}
@Override
public boolean equals(java.lang.Object otherOb) {
if (this == otherOb) {
return true;
}
if (!(otherOb instanceof org.openacs.SoftwarePK)) {
return false;
}
org.openacs.SoftwarePK other = (org.openacs.SoftwarePK) otherOb;
return (
(hwid==null?other.hwid==null:hwid == other.hwid)
&&
(version==null?other.version==null:version.equals(other.version))
);
}
/**
* @see java.lang.Object#hashCode()
*/
@Override
public int hashCode() {
return (
(hwid==null?0:hwid.hashCode())
^
(version==null?0:version.hashCode())
);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -