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

📄 abstractpuserext.java

📁 转载 基于struts+hibernate 框架的权限管理系统
💻 JAVA
字号:
/* * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. * * Created Sat Aug 20 23:09:27 CST 2005 by MyEclipse Hibernate Tool. */package com.infosys.Hibernate;import java.io.Serializable;/** * A class that represents a row in the p_user_ext table.  * You can customize the behavior of this class by editing the class, {@link PUserExt()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractPUserExt     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.String userid;    /** The value of the simple account property. */    private java.lang.String account;    /** The value of the simple passwd property. */    private java.lang.String passwd;    /** The value of the simple groupid property. */    private java.lang.String groupid;    /** The value of the simple regtime property. */    private java.util.Date regtime;    /** The value of the simple status property. */    private java.lang.Integer status;    /**     * Simple constructor of AbstractPUserExt instances.     */    public AbstractPUserExt()    {    }    /**     * Constructor of AbstractPUserExt instances given a simple primary key.     * @param userid     */    public AbstractPUserExt(java.lang.String userid)    {        this.setUserid(userid);    }    /**     * Return the simple primary key value that identifies this object.     * @return java.lang.String     */    public java.lang.String getUserid()    {        return userid;    }    /**     * Set the simple primary key value that identifies this object.     * @param userid     */    public void setUserid(java.lang.String userid)    {        this.hashValue = 0;        this.userid = userid;    }    /**     * Return the value of the account column.     * @return java.lang.String     */    public java.lang.String getAccount()    {        return this.account;    }    /**     * Set the value of the account column.     * @param account     */    public void setAccount(java.lang.String account)    {        this.account = account;    }    /**     * Return the value of the passwd column.     * @return java.lang.String     */    public java.lang.String getPasswd()    {        return this.passwd;    }    /**     * Set the value of the passwd column.     * @param passwd     */    public void setPasswd(java.lang.String passwd)    {        this.passwd = passwd;    }    /**     * Return the value of the groupid column.     * @return java.lang.String     */    public java.lang.String getGroupid()    {        return this.groupid;    }    /**     * Set the value of the groupid column.     * @param groupid     */    public void setGroupid(java.lang.String groupid)    {        this.groupid = groupid;    }    /**     * Return the value of the regtime column.     * @return java.util.Date     */    public java.util.Date getRegtime()    {        return this.regtime;    }    /**     * Set the value of the regtime column.     * @param regtime     */    public void setRegtime(java.util.Date regtime)    {        this.regtime = regtime;    }    /**     * Return the value of the status column.     * @return java.lang.Integer     */    public java.lang.Integer getStatus()    {        return this.status;    }    /**     * Set the value of the status column.     * @param status     */    public void setStatus(java.lang.Integer status)    {        this.status = status;    }    /**     * 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 PUserExt))            return false;        PUserExt that = (PUserExt) rhs;        if (this.getUserid() != null && that.getUserid() != null)        {            if (! this.getUserid().equals(that.getUserid()))            {                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 useridValue = this.getUserid() == null ? 0 : this.getUserid().hashCode();            result = result * 37 + useridValue;            this.hashValue = result;        }        return this.hashValue;    }}

⌨️ 快捷键说明

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