abstractgesofttb17.java

来自「hibernate和struts结合的源码」· Java 代码 · 共 221 行

JAVA
221
字号
/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Tue Sep 05 09:58:10 CST 2006 by MyEclipse Hibernate Tool.
 */
package com.gesoft.hibernate.po;

import java.io.Serializable;

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

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

    /** The value of the simple inputDate property. */
    private java.util.Date inputDate;

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

    /** The value of the simple updateDate property. */
    private java.util.Date updateDate;

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

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

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

    /**
     * Constructor of AbstractGesoftTb17 instances given a simple primary key.
     * @param no
     */
    public AbstractGesoftTb17(java.lang.Long no)
    {
        this.setNo(no);
    }

    /**
     * Return the simple primary key value that identifies this object.
     * @return java.lang.Long
     */
    public java.lang.Long getNo()
    {
        return no;
    }

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

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

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

    /**
     * Return the value of the INPUT_DATE column.
     * @return java.util.Date
     */
    public java.util.Date getInputDate()
    {
        return this.inputDate;
    }

    /**
     * Set the value of the INPUT_DATE column.
     * @param inputDate
     */
    public void setInputDate(java.util.Date inputDate)
    {
        this.inputDate = inputDate;
    }

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

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

    /**
     * Return the value of the UPDATE_DATE column.
     * @return java.util.Date
     */
    public java.util.Date getUpdateDate()
    {
        return this.updateDate;
    }

    /**
     * Set the value of the UPDATE_DATE column.
     * @param updateDate
     */
    public void setUpdateDate(java.util.Date updateDate)
    {
        this.updateDate = updateDate;
    }

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

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

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

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

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

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

⌨️ 快捷键说明

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