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

📄 shopdetailpk.java

📁 噶额外噶外骨骼感广泛高热感 就 啊啊
💻 JAVA
字号:
  /*
   * @author                        : Neelesh
   * @Version                       : 1.0
   *
   * Development Environment        : Oracle9i JDeveloper
   * Name of the File               : ShopDetailPK.java
   * Creation/Modification History  :
   *
   * Neelesh   11-Jan-2003      Created
   *
   */
  package oracle.otnsamples.vsm.entities;

  import java.io.Serializable;

  /**
   * The primary key class for ShopDetail entity. The key is made of languange id
   * and shop id. Generated by Oracle9i JDeveloper Tool.
   */
  public class ShopDetailPK implements Serializable {
    public String langID;
    public String shopID;

    public ShopDetailPK(  ) {
    }

    public ShopDetailPK( String shopID, String langID ) {
      this.shopID = shopID;
      this.langID = langID;
    }

    public boolean equals( Object other ) {
      if ( other instanceof ShopDetailPK ) {
        final ShopDetailPK otherShopDetailPK = (ShopDetailPK) other;

        // The following assignment statement is auto-maintained
        boolean areEqual = ( otherShopDetailPK.shopID.equals( shopID ) &&
                             otherShopDetailPK.langID.equals( langID ) );

        return areEqual;
      }

      return false;
    }

    public int hashCode(  ) {
      // Add custom hashCode() impl here
      return ( shopID + langID ).hashCode(  );
    }
  }

⌨️ 快捷键说明

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