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

📄 abstracttdoc.java

📁 基于hibernate + struts框架 采用mssql数据库,因容量原因,把lib删去了. 由于这是我第一个作品,有很多地方需要改进. 希望大家多提意见. qq: 258268936
💻 JAVA
字号:
/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Sat Oct 28 16:27:23 CST 2006 by MyEclipse Hibernate Tool.
 */
package com.hdlb.hibernate;

import java.io.Serializable;

/**
 * A class that represents a row in the t_doc table. 
 * You can customize the behavior of this class by editing the class, {@link TDoc()}.
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 */
public abstract class AbstractTDoc 
    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 fid;

    /** The value of the simple fdocname property. */
    private java.lang.String fdocname;

    /** The value of the simple fsendtime property. */
    private java.lang.String fsendtime;

    /** The value of the simple fdoczihao property. */
    private java.lang.String fdoczihao;

    /** The value of the simple ftype property. */
    private java.lang.String ftype;

    /** The value of the simple ffrom property. */
    private java.lang.String ffrom;

    /** The value of the simple frecroom property. */
    private java.lang.String frecroom;

    /** The value of the simple ftoleader property. */
    private java.lang.String ftoleader;

    /** The value of the simple flimittime property. */
    private java.lang.Integer flimittime;

    /** The value of the simple fsignperson property. */
    private java.lang.String fsignperson;

    /** The value of the simple fstate property. */
    private java.lang.String fstate;

    /**
     * Simple constructor of AbstractTDoc instances.
     */
    public AbstractTDoc()
    {
    }

    /**
     * Constructor of AbstractTDoc instances given a simple primary key.
     * @param fid
     */
    public AbstractTDoc(java.lang.Integer fid)
    {
        this.setFid(fid);
    }

    /**
     * Return the simple primary key value that identifies this object.
     * @return java.lang.Integer
     */
    public java.lang.Integer getFid()
    {
        return fid;
    }

    /**
     * Set the simple primary key value that identifies this object.
     * @param fid
     */
    public void setFid(java.lang.Integer fid)
    {
        this.hashValue = 0;
        this.fid = fid;
    }

    /**
     * Return the value of the fdocName column.
     * @return java.lang.String
     */
    public java.lang.String getFdocname()
    {
        return this.fdocname;
    }

    /**
     * Set the value of the fdocName column.
     * @param fdocname
     */
    public void setFdocname(java.lang.String fdocname)
    {
        this.fdocname = fdocname;
    }

    /**
     * Return the value of the fsendTime column.
     * @return java.util.Date
     */
    public java.lang.String getFsendtime()
    {
        return this.fsendtime;
    }

    /**
     * Set the value of the fsendTime column.
     * @param fsendtime
     */
    public void setFsendtime(java.lang.String fsendtime)
    {
        this.fsendtime = fsendtime;
    }

    /**
     * Return the value of the fdocZiHao column.
     * @return java.lang.String
     */
    public java.lang.String getFdoczihao()
    {
        return this.fdoczihao;
    }

    /**
     * Set the value of the fdocZiHao column.
     * @param fdoczihao
     */
    public void setFdoczihao(java.lang.String fdoczihao)
    {
        this.fdoczihao = fdoczihao;
    }

    /**
     * Return the value of the ftype column.
     * @return java.lang.String
     */
    public java.lang.String getFtype()
    {
        return this.ftype;
    }

    /**
     * Set the value of the ftype column.
     * @param ftype
     */
    public void setFtype(java.lang.String ftype)
    {
        this.ftype = ftype;
    }

    /**
     * Return the value of the ffrom column.
     * @return java.lang.String
     */
    public java.lang.String getFfrom()
    {
        return this.ffrom;
    }

    /**
     * Set the value of the ffrom column.
     * @param ffrom
     */
    public void setFfrom(java.lang.String ffrom)
    {
        this.ffrom = ffrom;
    }

    /**
     * Return the value of the frecRoom column.
     * @return java.lang.String
     */
    public java.lang.String getFrecroom()
    {
        return this.frecroom;
    }

    /**
     * Set the value of the frecRoom column.
     * @param frecroom
     */
    public void setFrecroom(java.lang.String frecroom)
    {
        this.frecroom = frecroom;
    }

    /**
     * Return the value of the ftoLeader column.
     * @return java.lang.String
     */
    public java.lang.String getFtoleader()
    {
        return this.ftoleader;
    }

    /**
     * Set the value of the ftoLeader column.
     * @param ftoleader
     */
    public void setFtoleader(java.lang.String ftoleader)
    {
        this.ftoleader = ftoleader;
    }

    /**
     * Return the value of the flimitTime column.
     * @return java.lang.Integer
     */
    public java.lang.Integer getFlimittime()
    {
        return this.flimittime;
    }

    /**
     * Set the value of the flimitTime column.
     * @param flimittime
     */
    public void setFlimittime(java.lang.Integer flimittime)
    {
        this.flimittime = flimittime;
    }

    /**
     * Return the value of the fsignPerson column.
     * @return java.lang.String
     */
    public java.lang.String getFsignperson()
    {
        return this.fsignperson;
    }

    /**
     * Set the value of the fsignPerson column.
     * @param fsignperson
     */
    public void setFsignperson(java.lang.String fsignperson)
    {
        this.fsignperson = fsignperson;
    }

    /**
     * Return the value of the fstate column.
     * @return java.lang.String
     */
    public java.lang.String getFstate()
    {
        return this.fstate;
    }

    /**
     * Set the value of the fstate column.
     * @param fstate
     */
    public void setFstate(java.lang.String fstate)
    {
        this.fstate = fstate;
    }

    /**
     * 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 TDoc))
            return false;
        TDoc that = (TDoc) rhs;
        if (this.getFid() == null || that.getFid() == null)
            return false;
        return (this.getFid().equals(that.getFid()));
    }

    /**
     * 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 fidValue = this.getFid() == null ? 0 : this.getFid().hashCode();
            result = result * 37 + fidValue;
            this.hashValue = result;
        }
        return this.hashValue;
    }
}

⌨️ 快捷键说明

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