/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 */
package jp.co.sint.basic;

import jp.co.sint.tools.SIUtil;

/**
 * @version $Id: SICmdtyConn.java,v 1.0 2003/09/12 Exp $
 * @author  Jinwang Chen
 * <br>Description: 関連商品テーブルに対するクラス
 * <p>History</p>
 * <p>Author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reason</p>
 *  ============&nbsp;&nbsp;&nbsp;==========&nbsp;&nbsp;===========================<br>
 * jwchen        2003/09/12 11:34:59  Original
 */
public class SICmdtyConn extends SIBasic{
  //ショップコード
  private String shopCode="";
  
  //商品コード
  private String cmdtyCode="";
  
  //関連商品ショップコード
  private String connShopCode="";
  
  //関連商品コード
  private String connCmdtyCode="";
  
  //表示順序
  private String dispOrder="";
  
  //setter of ショップコード
  public void setShopCode(String lShopCode){
    if (SIUtil.isNull(lShopCode)) lShopCode="";
    this.shopCode=SIUtil.changeTo(lShopCode.trim(),this.encode);
  }
  
  //setter of 商品コード
  public void setCmdtyCode(String lCmdtyCode){
    if (SIUtil.isNull(lCmdtyCode)) lCmdtyCode="";
    this.cmdtyCode=SIUtil.changeTo(lCmdtyCode.trim(),this.encode);
  }
  
  //setter of 関連商品ショップコード
  public void setConnShopCode(String lConnShopCode){
    if (SIUtil.isNull(lConnShopCode)) lConnShopCode="";
    this.connShopCode=SIUtil.changeTo(lConnShopCode.trim(),this.encode);
  }
  
  //setter of 関連商品コード
  public void setConnCmdtyCode(String lConnCmdtyCode){
    if (SIUtil.isNull(lConnCmdtyCode)) lConnCmdtyCode="";
    this.connCmdtyCode=SIUtil.changeTo(lConnCmdtyCode.trim(),this.encode);
  }
  
  //setter of 表示順序
  public void setDispOrder(String lDispOrder){
    if (SIUtil.isNull(lDispOrder)) lDispOrder="";
    this.dispOrder=SIUtil.changeTo(lDispOrder.trim(),this.encode);
  }
  
  //getter of ショップコード
  public String getShopCode(){
    return this.shopCode;
  }
  
  //getter of 商品コード
  public String getCmdtyCode(){
    return this.cmdtyCode;
  }
  
  //getter of 関連商品ショップコード
  public String getConnShopCode(){
    return this.connShopCode;
  }
  
  //getter of 関連商品コード
  public String getConnCmdtyCode(){
    return this.connCmdtyCode;
  }
  
  //getter of 表示順序
  public String getDispOrder(){
    return this.dispOrder;
  }
 }