⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 employeepermcmppk.java

📁 jbuilder9+weblogic8+oracle9开发的客户管理系统。服务器端采用EJB技术。可以对公司雇员和客户进行管理。
💻 JAVA
字号:
package testejb;

import java.io.*;

public class EmployeePermcmpPK
    implements Serializable {

  public String employeeId;
  public String permCode;

  public EmployeePermcmpPK() {
  }

  public EmployeePermcmpPK(String employeeId, String permCode) {
    this.employeeId = employeeId;
    this.permCode = permCode;
  }

  public boolean equals(Object obj) {
    if (obj != null) {
      if (this.getClass().equals(obj.getClass())) {
        EmployeePermcmpPK that = (EmployeePermcmpPK) obj;
        return ( ( (this.employeeId == null) && (that.employeeId == null)) ||
                (this.employeeId != null &&
                 this.employeeId.equals(that.employeeId))) &&
            ( ( (this.permCode == null) && (that.permCode == null)) ||
             (this.permCode != null && this.permCode.equals(that.permCode)));
      }
    }
    return false;
  }

  public int hashCode() {
    return (employeeId + permCode).hashCode();
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -