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

📄 abstractcodeindex.java

📁 struts+spring+hibernate自创框架
💻 JAVA
字号:
/*
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 *
 * Created Mon Nov 12 15:22:31 CST 2007 by MyEclipse Hibernate Tool.
 */
package com.pegasus.framework.sys.pojo.vo;

import java.io.Serializable;

/**
 * A class that represents a row in the code_index table. 
 * You can customize the behavior of this class by editing the class, {@link CodeIndex()}.
 * WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
 * by MyEclipse Hibernate tool integration.
 */
public abstract class AbstractCodeIndex 
    extends com.pegasus.framework.pojo.AbstractBusinessObject
    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 codeId;


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

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

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

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

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

    /** The value of the simple createdId property. */
    private java.lang.Long createdId;

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

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

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

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

    /** The value of the simple modifiedId property. */
    private java.lang.Long modifiedId;

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

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

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

    /**
     * Constructor of AbstractCodeIndex instances given a simple primary key.
     * @param codeId
     */
    public AbstractCodeIndex(java.lang.String codeId)
    {
        this.setCodeId(codeId);
    }

    /**
     * Return the simple primary key value that identifies this object.
     * @return java.lang.String
     */
    public java.lang.String getCodeId()
    {
        return codeId;
    }

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

    /**
     * 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 DESCRIPTION column.
     * @return java.lang.String
     */
    public java.lang.String getDescription()
    {
        return this.description;
    }

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

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

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

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

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

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

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

    /**
     * Return the value of the CREATED_ID column.
     * @return java.lang.Long
     */
    public java.lang.Long getCreatedId()
    {
        return this.createdId;
    }

    /**
     * Set the value of the CREATED_ID column.
     * @param createdId
     */
    public void setCreatedId(java.lang.Long createdId)
    {
        this.createdId = createdId;
    }

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

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

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

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

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

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

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

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

    /**
     * Return the value of the MODIFIED_ID column.
     * @return java.lang.Long
     */
    public java.lang.Long getModifiedId()
    {
        return this.modifiedId;
    }

    /**
     * Set the value of the MODIFIED_ID column.
     * @param modifiedId
     */
    public void setModifiedId(java.lang.Long modifiedId)
    {
        this.modifiedId = modifiedId;
    }

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

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

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

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


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

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

⌨️ 快捷键说明

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