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

📄 abstractzrdoc.java

📁 一个简单的用户登录验证
💻 JAVA
字号:
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Tue Dec 06 10:42:09 CST 2005 by MyEclipse Hibernate Tool. */package com.zhurun.hibernate;import java.io.Serializable;/** * A class that represents a row in the zr_doc table.  * You can customize the behavior of this class by editing the class, {@link ZrDoc()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractZrDoc     implements Serializable{    /** The cached hash code value for this instance.  Settting to 0 triggers re-calculation. */    private int hashValue = 0;    /** The composite primary key value. */    private java.lang.Integer docid;    /** The value of the simple docname property. */    private java.lang.String docname;    /** The value of the simple docsize property. */    private java.lang.Integer docsize;    /** The value of the simple userid property. */    private java.lang.Integer userid;    /** The value of the simple createtime property. */    private java.util.Date createtime;    /** The value of the simple modiytime property. */    private java.util.Date modiytime;    /** The value of the simple docdesp property. */    private java.lang.String docdesp;    /** The value of the simple filename property. */    private java.lang.String filename;    /**     * Simple constructor of AbstractZrDoc instances.     */    public AbstractZrDoc()    {    }    /**     * Constructor of AbstractZrDoc instances given a simple primary key.     * @param docid     */    public AbstractZrDoc(java.lang.Integer docid)    {        this.setDocid(docid);    }    /**     * Return the simple primary key value that identifies this object.     * @return java.lang.Integer     */    public java.lang.Integer getDocid()    {        return docid;    }    /**     * Set the simple primary key value that identifies this object.     * @param docid     */    public void setDocid(java.lang.Integer docid)    {        this.hashValue = 0;        this.docid = docid;    }    /**     * Return the value of the docname column.     * @return java.lang.String     */    public java.lang.String getDocname()    {        return this.docname;    }    /**     * Set the value of the docname column.     * @param docname     */    public void setDocname(java.lang.String docname)    {        this.docname = docname;    }    /**     * Return the value of the docsize column.     * @return java.lang.Integer     */    public java.lang.Integer getDocsize()    {        return this.docsize;    }    /**     * Set the value of the docsize column.     * @param docsize     */    public void setDocsize(java.lang.Integer docsize)    {        this.docsize = docsize;    }    /**     * Return the value of the userid column.     * @return java.lang.Integer     */    public java.lang.Integer getUserid()    {        return this.userid;    }    /**     * Set the value of the userid column.     * @param userid     */    public void setUserid(java.lang.Integer userid)    {        this.userid = userid;    }    /**     * Return the value of the createtime column.     * @return java.util.Date     */    public java.util.Date getCreatetime()    {        return this.createtime;    }    /**     * Set the value of the createtime column.     * @param createtime     */    public void setCreatetime(java.util.Date createtime)    {        this.createtime = createtime;    }    /**     * Return the value of the modiytime column.     * @return java.util.Date     */    public java.util.Date getModiytime()    {        return this.modiytime;    }    /**     * Set the value of the modiytime column.     * @param modiytime     */    public void setModiytime(java.util.Date modiytime)    {        this.modiytime = modiytime;    }    /**     * Return the value of the docdesp column.     * @return java.lang.String     */    public java.lang.String getDocdesp()    {        return this.docdesp;    }    /**     * Set the value of the docdesp column.     * @param docdesp     */    public void setDocdesp(java.lang.String docdesp)    {        this.docdesp = docdesp;    }    /**     * Return the value of the filename column.     * @return java.lang.String     */    public java.lang.String getFilename()    {        return this.filename;    }    /**     * Set the value of the filename column.     * @param filename     */    public void setFilename(java.lang.String filename)    {        this.filename = filename;    }    /**     * Implementation of the equals comparison on the basis of equality of the primary key values.     * @param rhs     * @return boolean     */    public boolean equals(Object rhs)    {        if (rhs == null)            return false;        if (! (rhs instanceof ZrDoc))            return false;        ZrDoc that = (ZrDoc) rhs;        if (this.getDocid() != null && that.getDocid() != null)        {            if (! this.getDocid().equals(that.getDocid()))            {                return false;            }        }        return true;    }    /**     * Implementation of the hashCode method conforming to the Bloch pattern with     * the exception of array properties (these are very unlikely primary key types).     * @return int     */    public int hashCode()    {        if (this.hashValue == 0)        {            int result = 17;            int docidValue = this.getDocid() == null ? 0 : this.getDocid().hashCode();            result = result * 37 + docidValue;            this.hashValue = result;        }        return this.hashValue;    }}

⌨️ 快捷键说明

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