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

📄 abstractpuserlog.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_log table.  * You can customize the behavior of this class by editing the class, {@link PUserLog()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractPUserLog     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 id;    /** The value of the simple userid property. */    private java.lang.String userid;    /** The value of the simple handleact property. */    private java.lang.String handleact;    /** The value of the simple ip property. */    private java.lang.String ip;    /** The value of the simple logdate property. */    private java.util.Date logdate;    /**     * Simple constructor of AbstractPUserLog instances.     */    public AbstractPUserLog()    {    }    /**     * Constructor of AbstractPUserLog instances given a simple primary key.     * @param id     */    public AbstractPUserLog(java.lang.String id)    {        this.setId(id);    }    /**     * Return the simple primary key value that identifies this object.     * @return java.lang.Integer     */    public java.lang.String getId()    {        return id;    }    /**     * Set the simple primary key value that identifies this object.     * @param id     */    public void setId(java.lang.String id)    {        this.hashValue = 0;        this.id = id;    }    /**     * Return the value of the userid column.     * @return java.lang.String     */    public java.lang.String getUserid()    {        return this.userid;    }    /**     * Set the value of the userid column.     * @param userid     */    public void setUserid(java.lang.String userid)    {        this.userid = userid;    }    /**     * Return the value of the handleAct column.     * @return java.lang.String     */    public java.lang.String getHandleact()    {        return this.handleact;    }    /**     * Set the value of the handleAct column.     * @param handleact     */    public void setHandleact(java.lang.String handleact)    {        this.handleact = handleact;    }    /**     * Return the value of the ip column.     * @return java.lang.String     */    public java.lang.String getIp()    {        return this.ip;    }    /**     * Set the value of the ip column.     * @param ip     */    public void setIp(java.lang.String ip)    {        this.ip = ip;    }    /**     * Return the value of the logdate column.     * @return java.util.Date     */    public java.util.Date getLogdate()    {        return this.logdate;    }    /**     * Set the value of the logdate column.     * @param logdate     */    public void setLogdate(java.util.Date logdate)    {        this.logdate = logdate;    }    /**     * 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 PUserLog))            return false;        PUserLog that = (PUserLog) rhs;        if (this.getId() != null && that.getId() != null)        {            if (! this.getId().equals(that.getId()))            {                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 idValue = this.getId() == null ? 0 : this.getId().hashCode();            result = result * 37 + idValue;            this.hashValue = result;        }        return this.hashValue;    }}

⌨️ 快捷键说明

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