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

📄 abstractpgroup.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:26 CST 2005 by MyEclipse Hibernate Tool. */package com.infosys.Hibernate;import java.io.Serializable;/** * A class that represents a row in the p_group table.  * You can customize the behavior of this class by editing the class, {@link PGroup()}. * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized * by MyEclipse Hibernate tool integration. */public abstract class AbstractPGroup     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 groupid;    /** The value of the simple code property. */    private java.lang.String code;    /** The value of the simple name property. */    private java.lang.String name;    /** The value of the simple remark property. */    private java.lang.String remark;    /** The value of the simple status property. */    private java.lang.Integer status=new Integer(1);    /**     * Simple constructor of AbstractPGroup instances.     */    public AbstractPGroup()    {    }    /**     * Constructor of AbstractPGroup instances given a simple primary key.     * @param groupid     */    public AbstractPGroup(java.lang.String groupid)    {        this.setGroupid(groupid);    }    /**     * Return the simple primary key value that identifies this object.     * @return java.lang.String     */    public java.lang.String getGroupid()    {        return groupid;    }    /**     * Set the simple primary key value that identifies this object.     * @param groupid     */    public void setGroupid(java.lang.String groupid)    {        this.hashValue = 0;        this.groupid = groupid;    }    /**     * Return the value of the code column.     * @return java.lang.String     */    public java.lang.String getCode()    {        return this.code;    }    /**     * Set the value of the code column.     * @param code     */    public void setCode(java.lang.String code)    {        this.code = code;    }    /**     * 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 remark column.     * @return java.lang.String     */    public java.lang.String getRemark()    {        return this.remark;    }    /**     * Set the value of the remark column.     * @param remark     */    public void setRemark(java.lang.String remark)    {        this.remark = remark;    }    /**     * 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 PGroup))            return false;        PGroup that = (PGroup) rhs;        if (this.getGroupid() != null && that.getGroupid() != null)        {            if (! this.getGroupid().equals(that.getGroupid()))            {                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 groupidValue = this.getGroupid() == null ? 0 : this.getGroupid().hashCode();            result = result * 37 + groupidValue;            this.hashValue = result;        }        return this.hashValue;    }}

⌨️ 快捷键说明

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