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

📄 xfmxbean.java

📁 STRUTS数据库项目开发宝典
💻 JAVA
字号:
package org.helpsoft.entity.xfmx;

import java.io.Serializable;
import com.helpsoft.util.log.*;


/**
 * The Xfmx entity bean.
 *
 * @author cao guangxin - www.relationinfo.com
 *
 * @hibernate.class
 *         table="xfmx"
 */
public class XfmxBean implements Serializable, XfmxIf {

   /**
    * The logger object.
    */
   private static Logger log = LogService.getLogger(XfmxBean.class);



   private java.lang.String xfbm;
   private java.lang.String hykh;
   private java.lang.String spbm;
   private java.lang.String spmc;
   private java.lang.String dj;
   private java.lang.String sl;
   private java.lang.String hjje;

   /**
    * Default constructor.
    */
   public XfmxBean() {
   }

   /**
    * Value object constructor.
    */
   public XfmxBean(org.helpsoft.entity.xfmx.XfmxIf value) {
      setXfbm(value.getXfbm());
      setHykh(value.getHykh());
      setSpbm(value.getSpbm());
      setSpmc(value.getSpmc());
      setDj(value.getDj());
      setSl(value.getSl());
      setHjje(value.getHjje());
   }

   /**
    * Creates a new bean and returns the primary key.
    * If the primary key of the value object has been set, this key will be used.
    * If the primary key is set to null, Hibernate's increment id generator is used for integers and longs
    * and the uuid.hex generator for strings.
    *
    * @param value a <code>XfmxIf</code>
    * @return the primary key for this Xfmx
    */
   public java.lang.String create(org.helpsoft.entity.xfmx.XfmxIf value) {
      setXfbm(value.getXfbm());
      setHykh(value.getHykh());
      setSpbm(value.getSpbm());
      setSpmc(value.getSpmc());
      setDj(value.getDj());
      setSl(value.getSl());
      setHjje(value.getHjje());
      return value.getPrimaryKey();
   }

    /**
     * Return the primary key.
     *
     * @return java.lang.String with the primary key.
     */
   public java.lang.String getPrimaryKey() {
        return getXfbm();
    }

    /**
     * Set the primary key.
     *
     * @param primaryKey the primary key
     */
   public void setPrimaryKey(java.lang.String primaryKey) {
       setXfbm(primaryKey);
    }

   /**
    * Returns the value of the <code>xfbm</code> property.
    *
    * @hibernate.id
    * generator-class="uuid.hex"
    * length="32"
    * column="xfbm"
    */
   public java.lang.String getXfbm() {
      return xfbm;
   }

   /**
    * Sets the value of the <code>xfbm</code> property.
    *
    * @param xfbm the value for the <code>xfbm</code> property
    */
   public void setXfbm(java.lang.String xfbm) {
      this.xfbm = xfbm;
   }

   /**
    * Returns the value of the <code>hykh</code> property.
    *
    * @hibernate.property
    * length="30"
    * column="hykh"
    */
   public java.lang.String getHykh() {
      return hykh;
   }

   /**
    * Sets the value of the <code>hykh</code> property.
    *
    * @param hykh the value for the <code>hykh</code> property
    */
   public void setHykh(java.lang.String hykh) {
      this.hykh = hykh;
   }

   /**
    * Returns the value of the <code>spbm</code> property.
    *
    * @hibernate.property
    * length="30"
    * column="spbm"
    */
   public java.lang.String getSpbm() {
      return spbm;
   }

   /**
    * Sets the value of the <code>spbm</code> property.
    *
    * @param spbm the value for the <code>spbm</code> property
    */
   public void setSpbm(java.lang.String spbm) {
      this.spbm = spbm;
   }

   /**
    * Returns the value of the <code>spmc</code> property.
    *
    * @hibernate.property
    * length="100"
    * column="spmc"
    */
   public java.lang.String getSpmc() {
      return spmc;
   }

   /**
    * Sets the value of the <code>spmc</code> property.
    *
    * @param spmc the value for the <code>spmc</code> property
    */
   public void setSpmc(java.lang.String spmc) {
      this.spmc = spmc;
   }

   /**
    * Returns the value of the <code>dj</code> property.
    *
    * @hibernate.property
    * length="10"
    * column="dj"
    */
   public java.lang.String getDj() {
      return dj;
   }

   /**
    * Sets the value of the <code>dj</code> property.
    *
    * @param dj the value for the <code>dj</code> property
    */
   public void setDj(java.lang.String dj) {
      this.dj = dj;
   }

   /**
    * Returns the value of the <code>sl</code> property.
    *
    * @hibernate.property
    * length="10"
    * column="sl"
    */
   public java.lang.String getSl() {
      return sl;
   }

   /**
    * Sets the value of the <code>sl</code> property.
    *
    * @param sl the value for the <code>sl</code> property
    */
   public void setSl(java.lang.String sl) {
      this.sl = sl;
   }

   /**
    * Returns the value of the <code>hjje</code> property.
    *
    * @hibernate.property
    * length="10"
    * column="hjje"
    */
   public java.lang.String getHjje() {
      return hjje;
   }

   /**
    * Sets the value of the <code>hjje</code> property.
    *
    * @param hjje the value for the <code>hjje</code> property
    */
   public void setHjje(java.lang.String hjje) {
      this.hjje = hjje;
   }


}

⌨️ 快捷键说明

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