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

📄 essaypk.java

📁 jsp网站开发四“酷”全书原码
💻 JAVA
字号:
/*
 * This source file was generated by FireStorm/DAO 3.0 (build 99)
 * on 26-十月-2005 at 09:50:56
 * 
 * If you purchase a full license for FireStorm/DAO you can customize this file header.
 * 
 * For more information please visit http://www.codefutures.com/products/firestorm
 */

package cn.wanfeng.myblog.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/** 
 * This class represents the primary key of the Essay table.
 */
public class EssayPk implements Serializable
{
	private int essayID;

	/** 
	 * This attribute represents whether the primitive attribute essayID is null.
	 */
	private boolean essayIDNull;

	/** 
	 * Sets the value of essayID
	 */
	public void setEssayID(int essayID)
	{
		this.essayID = essayID;
	}

	/** 
	 * Gets the value of essayID
	 */
	public int getEssayID()
	{
		return essayID;
	}

	/**
	 * Method 'EssayPk'
	 * 
	 */
	public EssayPk()
	{
	}

	/**
	 * Method 'EssayPk'
	 * 
	 * @param essayID
	 */
	public EssayPk(final int essayID)
	{
		this.essayID = essayID;
	}

	/** 
	 * Sets the value of essayIDNull
	 */
	public void setEssayIDNull(boolean essayIDNull)
	{
		this.essayIDNull = essayIDNull;
	}

	/** 
	 * Gets the value of essayIDNull
	 */
	public boolean isEssayIDNull()
	{
		return essayIDNull;
	}

	/**
	 * Method 'equals'
	 * 
	 * @param _other
	 * @return boolean
	 */
	public boolean equals(Object _other)
	{
		if (_other == null) {
			return false;
		}
		
		if (_other == this) {
			return true;
		}
		
		if (!(_other instanceof EssayPk)) {
			return false;
		}
		
		final EssayPk _cast = (EssayPk) _other;
		if (essayID != _cast.essayID) {
			return false;
		}
		
		if (essayIDNull != _cast.essayIDNull) {
			return false;
		}
		
		return true;
	}

	/**
	 * Method 'hashCode'
	 * 
	 * @return int
	 */
	public int hashCode()
	{
		int _hashCode = 0;
		_hashCode = 29 * _hashCode + essayID;
		_hashCode = 29 * _hashCode + (essayIDNull ? 1 : 0);
		return _hashCode;
	}

	/**
	 * Method 'toString'
	 * 
	 * @return String
	 */
	public String toString()
	{
		StringBuffer ret = new StringBuffer();
		ret.append( "cn.wanfeng.myblog.dto.EssayPk: " );
		ret.append( "essayID='" + essayID + "'" );
		return ret.toString();
	}

}

⌨️ 快捷键说明

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