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

📄 feedback.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 cn.wanfeng.myblog.dao.*;
import cn.wanfeng.myblog.factory.*;
import cn.wanfeng.myblog.exceptions.*;
import java.io.Serializable;
import java.util.*;

public class Feedback implements Serializable
{
	/** 
	 * This attribute maps to the column ArticleID in the Feedback table.
	 */
	private int articleID;

	/** 
	 * This attribute represents whether the attribute articleID has been modified since being read from the database.
	 */
	private boolean articleIDModified = false;

	/** 
	 * This attribute maps to the column FeedBackID in the Feedback table.
	 */
	private int feedBackID;

	/** 
	 * This attribute represents whether the primitive attribute feedBackID is null.
	 */
	private boolean feedBackIDNull = true;

	/** 
	 * This attribute represents whether the attribute feedBackID has been modified since being read from the database.
	 */
	private boolean feedBackIDModified = false;

	/** 
	 * This attribute maps to the column Subject in the Feedback table.
	 */
	private String subject;

	/** 
	 * This attribute represents whether the attribute subject has been modified since being read from the database.
	 */
	private boolean subjectModified = false;

	/** 
	 * This attribute maps to the column Content in the Feedback table.
	 */
	private String content;

	/** 
	 * This attribute represents whether the attribute content has been modified since being read from the database.
	 */
	private boolean contentModified = false;

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

	/**
	 * Method 'getArticleID'
	 * 
	 * @return int
	 */
	public int getArticleID()
	{
		return articleID;
	}

	/**
	 * Method 'setArticleID'
	 * 
	 * @param articleID
	 */
	public void setArticleID(int articleID)
	{
		this.articleID = articleID;
		setArticleIDModified( true );
	}

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

	/** 
	 * Gets the value of articleIDModified
	 */
	public boolean isArticleIDModified()
	{
		return articleIDModified;
	}

	/**
	 * Method 'getFeedBackID'
	 * 
	 * @return int
	 */
	public int getFeedBackID()
	{
		return feedBackID;
	}

	/**
	 * Method 'setFeedBackID'
	 * 
	 * @param feedBackID
	 */
	public void setFeedBackID(int feedBackID)
	{
		this.feedBackID = feedBackID;
		setFeedBackIDNull( false );
		setFeedBackIDModified( true );
	}

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

	/** 
	 * Gets the value of feedBackIDNull
	 */
	public boolean isFeedBackIDNull()
	{
		return feedBackIDNull;
	}

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

	/** 
	 * Gets the value of feedBackIDModified
	 */
	public boolean isFeedBackIDModified()
	{
		return feedBackIDModified;
	}

	/**
	 * Method 'getSubject'
	 * 
	 * @return String
	 */
	public String getSubject()
	{
		return subject;
	}

	/**
	 * Method 'setSubject'
	 * 
	 * @param subject
	 */
	public void setSubject(String subject)
	{
		this.subject = subject;
		setSubjectModified( true );
	}

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

	/** 
	 * Gets the value of subjectModified
	 */
	public boolean isSubjectModified()
	{
		return subjectModified;
	}

	/**
	 * Method 'getContent'
	 * 
	 * @return String
	 */
	public String getContent()
	{
		return content;
	}

	/**
	 * Method 'setContent'
	 * 
	 * @param content
	 */
	public void setContent(String content)
	{
		this.content = content;
		setContentModified( true );
	}

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

	/** 
	 * Gets the value of contentModified
	 */
	public boolean isContentModified()
	{
		return contentModified;
	}

	/**
	 * Method 'equals'
	 * 
	 * @param _other
	 * @return boolean
	 */
	public boolean equals(Object _other)
	{
		if (_other == null) {
			return false;
		}
		
		if (_other == this) {
			return true;
		}
		
		if (!(_other instanceof Feedback)) {
			return false;
		}
		
		final Feedback _cast = (Feedback) _other;
		if (articleID != _cast.articleID) {
			return false;
		}
		
		if (articleIDModified != _cast.articleIDModified) {
			return false;
		}
		
		if (feedBackID != _cast.feedBackID) {
			return false;
		}
		
		if (feedBackIDNull != _cast.feedBackIDNull) {
			return false;
		}
		
		if (feedBackIDModified != _cast.feedBackIDModified) {
			return false;
		}
		
		if (subject == null ? _cast.subject != subject : !subject.equals( _cast.subject )) {
			return false;
		}
		
		if (subjectModified != _cast.subjectModified) {
			return false;
		}
		
		if (content == null ? _cast.content != content : !content.equals( _cast.content )) {
			return false;
		}
		
		if (contentModified != _cast.contentModified) {
			return false;
		}
		
		return true;
	}

	/**
	 * Method 'hashCode'
	 * 
	 * @return int
	 */
	public int hashCode()
	{
		int _hashCode = 0;
		_hashCode = 29 * _hashCode + articleID;
		_hashCode = 29 * _hashCode + (articleIDModified ? 1 : 0);
		_hashCode = 29 * _hashCode + feedBackID;
		_hashCode = 29 * _hashCode + (feedBackIDNull ? 1 : 0);
		_hashCode = 29 * _hashCode + (feedBackIDModified ? 1 : 0);
		if (subject != null) {
			_hashCode = 29 * _hashCode + subject.hashCode();
		}
		
		_hashCode = 29 * _hashCode + (subjectModified ? 1 : 0);
		if (content != null) {
			_hashCode = 29 * _hashCode + content.hashCode();
		}
		
		_hashCode = 29 * _hashCode + (contentModified ? 1 : 0);
		return _hashCode;
	}

	/**
	 * Method 'createPk'
	 * 
	 * @return FeedbackPk
	 */
	public FeedbackPk createPk()
	{
		return new FeedbackPk(articleID);
	}

	/**
	 * Method 'toString'
	 * 
	 * @return String
	 */
	public String toString()
	{
		StringBuffer ret = new StringBuffer();
		ret.append( "cn.wanfeng.myblog.dto.Feedback: " );
		ret.append( "articleID='" + articleID + "'" );
		ret.append( ", feedBackID='" + feedBackID + "'" );
		ret.append( ", subject='" + subject + "'" );
		ret.append( ", content='" + content + "'" );
		return ret.toString();
	}

}

⌨️ 快捷键说明

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