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

📄 abstractpuserbase.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_base table.  * You can customize the behavior of this class by editing the class, {@link PUserBase()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractPUserBase     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 name property. */    private java.lang.String name;    /** The value of the simple sex property. */    private java.lang.String sex;    /** The value of the simple tel property. */    private java.lang.String tel;    /** The value of the simple fax property. */    private java.lang.String fax;    /** The value of the simple email property. */    private java.lang.String email;    /** The value of the simple idtype property. */    private java.lang.String idtype;    /** The value of the simple idno property. */    private java.lang.String idno;    /**     * Simple constructor of AbstractPUserBase instances.     */    public AbstractPUserBase()    {    }    /**     * Constructor of AbstractPUserBase instances given a simple primary key.     * @param userid     */    public AbstractPUserBase(java.lang.String userid)    {        this.setUserid(userid);    }    /**     * Return the value of the name column.     * @return java.lang.String     */    public java.lang.String getUserid()    {        return this.userid;    }    /**     * Set the value of the name column.     * @param name     */    public void setUserid(java.lang.String userid)    {        this.userid = userid;    }    /**     * Return the value of the name column.     * @return java.lang.String     */    public java.lang.String getName()    {        return this.name;    }    /**     * Set the value of the name column.     * @param name     */    public void setName(java.lang.String name)    {        this.name = name;    }    /**     * Return the value of the sex column.     * @return java.lang.String     */    public java.lang.String getSex()    {        return this.sex;    }    /**     * Set the value of the sex column.     * @param sex     */    public void setSex(java.lang.String sex)    {        this.sex = sex;    }    /**     * Return the value of the tel column.     * @return java.lang.String     */    public java.lang.String getTel()    {        return this.tel;    }    /**     * Set the value of the tel column.     * @param tel     */    public void setTel(java.lang.String tel)    {        this.tel = tel;    }    /**     * Return the value of the fax column.     * @return java.lang.String     */    public java.lang.String getFax()    {        return this.fax;    }    /**     * Set the value of the fax column.     * @param fax     */    public void setFax(java.lang.String fax)    {        this.fax = fax;    }    /**     * Return the value of the email column.     * @return java.lang.String     */    public java.lang.String getEmail()    {        return this.email;    }    /**     * Set the value of the email column.     * @param email     */    public void setEmail(java.lang.String email)    {        this.email = email;    }    /**     * Return the value of the idtype column.     * @return java.lang.String     */    public java.lang.String getIdtype()    {        return this.idtype;    }    /**     * Set the value of the idtype column.     * @param idtype     */    public void setIdtype(java.lang.String idtype)    {        this.idtype = idtype;    }    /**     * Return the value of the idno column.     * @return java.lang.String     */    public java.lang.String getIdno()    {        return this.idno;    }    /**     * Set the value of the idno column.     * @param idno     */    public void setIdno(java.lang.String idno)    {        this.idno = idno;    }    /**     * 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 PUserBase))            return false;        PUserBase that = (PUserBase) 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 pUserExtValue = this.getUserid() == null ? 0 : this.getUserid().hashCode();            result = result * 37 + pUserExtValue;            this.hashValue = result;        }        return this.hashValue;    }}

⌨️ 快捷键说明

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