/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 */

package jp.co.sint.basic;

import jp.co.sint.tools.SIUtil;

/**
 * @version $Id : SIStndrdName.java,v 1.0 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>
 * Jinwang Chen   2003/09/08  Original
 */

public class SIStndrdName extends SIBasic{
  //ショップコード
  private String shopCode="";
  
  //規格コード
  private String stndrdCode="";
  
  //規格名称
  private String stndrdName="";
  
  //ヒモ付け商品数1
  private String cmdtyCount1="";
  
  //ヒモ付け商品数2
  private String cmdtyCount2="";
  
  //setter of ショップコード
  public void setShopCode(String lShopCode){
    if (SIUtil.isNull(lShopCode)) lShopCode="";
    this.shopCode=SIUtil.changeTo(lShopCode.trim(),this.encode);
  }
  
  //setter of 規格コード
  public void setStndrdCode(String lStndrdCode){
    if (SIUtil.isNull(lStndrdCode)) lStndrdCode="";
    this.stndrdCode=SIUtil.changeTo(lStndrdCode.trim(),this.encode);
  }
  
  //setter of 規格名称
  public void setStndrdName(String lStndrdName){
    if (SIUtil.isNull(lStndrdName)) lStndrdName="";
    this.stndrdName=SIUtil.changeTo(lStndrdName.trim(),this.encode);
  }
  
  //setter of ヒモ付け商品数1
  public void setCmdtyCount1(String lCmdtyCount1){
    if (SIUtil.isNull(lCmdtyCount1)) lCmdtyCount1="";
    this.cmdtyCount1=SIUtil.changeTo(lCmdtyCount1.trim(),this.encode);
  }
  
  // setter of ヒモ付け商品数2
  public void setCmdtyCount2(String lCmdtyCount2){
    if (SIUtil.isNull(lCmdtyCount2)) lCmdtyCount2="";
     this.cmdtyCount2=SIUtil.changeTo(lCmdtyCount2.trim(),this.encode);
  }
  
  //getter of ショップコード
  public String getShopCode(){
    return this.shopCode;
  }
  
  //getter of 規格コード
  public String getStndrdCode(){
    return this.stndrdCode;
  }
  
  //getter of 規格名称
  public String getStndrdName(){
    return this.stndrdName;
  }
  
  //getter of ヒモ付け商品1
  public String getCmdtyCount1(){
    return this.cmdtyCount1;
  }
  
  //getter of ヒモ付け商品2
  public String getCmdtyCount2(){
    return this.cmdtyCount2;
  }
}
