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

package jp.co.sint.basic;

import jp.co.sint.tools.SIUtil;

/**
 * @version $Id : SIStndrdContent.java,v 1.0 Exp $
 * @author      : Jinwang Chen
 * <br>Description : 規格内容マスタテーブルに対するbeansのクラス
 * <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 SIStndrdContent extends SIBasic{
  //ショップコード
  private String shopCode="";
  
  //規格コード
  private String stndrdCode="";
  
  //エレメントコード
  private String elementCode="";
  
  //表示順序
  private String dispOrder="";
  
  //エレメント内容
  private String elementName="";
  
  //商品数
  private String count="0";
  
  //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 setElementCode(String lElementCode){
    if (SIUtil.isNull(lElementCode)) lElementCode="";
    this.elementCode=SIUtil.changeTo(lElementCode.trim(),this.encode);
  }
  
  //setter of 表示順序
  public void setDispOrder(String lDispOrder){
    if (SIUtil.isNull(lDispOrder)) lDispOrder="";
    this.dispOrder=SIUtil.changeTo(lDispOrder.trim(),this.encode);
  }
  
  //setter of エレメント内容
  public void setElementName(String lElementName){
    if (SIUtil.isNull(lElementName)) lElementName="";
    this.elementName=SIUtil.changeTo(lElementName.trim(),this.encode);
  }
  
  //setter of 商品数
  public void setCount(String lCount){
    if (SIUtil.isNull(lCount)) lCount="0";
    this.count=lCount.trim();
  }
  
  //getter of ショップコード
  public String getShopCode(){
    return this.shopCode;
  }
  
  //getter of 規格コード
  public String getStndrdCode(){
    return this.stndrdCode;
  }
  
  //getter of エレメントコード
  public String getElementCode(){
    return this.elementCode;
  }
  
  //getter of 表示順序
  public String getDispOrder(){
    return this.dispOrder;
  }
  
  //getter of エレメント内容
  public String getElementName(){
    return this.elementName;
  }
  
  //getter of 商品数
  public String getCount(){
    return this.count;
  }
}