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

📄 abstracttmessagein.java

📁 《短信平台系统》向注册用户提供向指定手机或通讯录中手机发送短信的功能
💻 JAVA
字号:
/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Thu Oct 26 11:30:46 CST 2006 by MyEclipse Hibernate Tool.
 */
package com.ascenttech.hib.vo.t_messgae_in;

import java.io.Serializable;

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

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

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

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

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

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

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

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

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

    /**
     * Constructor of AbstractTMessageIn instances given a simple primary key.
     * @param seqnum
     */
    public AbstractTMessageIn(java.lang.Long seqnum)
    {
        this.setSeqnum(seqnum);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Return the value of the Rectime column.
     * @return java.util.Date
     */
    public java.util.Date getRectime()
    {
        return this.rectime;
    }

    /**
     * Set the value of the Rectime column.
     * @param rectime
     */
    public void setRectime(java.util.Date rectime)
    {
        this.rectime = rectime;
    }

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

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

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

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

⌨️ 快捷键说明

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