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

📄 hyklxbean.java

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

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

import org.helpsoft.entity.hy.*;

/**
 * The Hyklx entity bean.
 *
 * @author cao guangxin - www.relationinfo.com
 *
 * @hibernate.class
 *         table="hyklx"
 */
public class HyklxBean implements Serializable, HyklxIf {

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



   private java.lang.String hykmm;
   private java.lang.String hykmc;

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

   /**
    * Value object constructor.
    */
   public HyklxBean(org.helpsoft.entity.hyklx.HyklxIf value) {
      setHykmm(value.getHykmm());
      setHykmc(value.getHykmc());
   }

   /**
    * 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>HyklxIf</code>
    * @return the primary key for this Hyklx
    */
   public java.lang.String create(org.helpsoft.entity.hyklx.HyklxIf value) {
      setHykmm(value.getHykmm());
      setHykmc(value.getHykmc());
      return value.getPrimaryKey();
   }

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

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

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

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

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

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


}

⌨️ 快捷键说明

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