commentform.java

来自「openblog是一个博客管理系统」· Java 代码 · 共 94 行

JAVA
94
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package org.openblog.struts.comment.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

/** 
 * MyEclipse Struts
 * Creation date: 12-18-2008
 * 
 * XDoclet definition:
 * @struts.form name="commentForm"
 */
public class CommentForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** commentcontent property */
	private String commentuser;
	private String commentmail;
	private String commenturl;
	private String commentcontent;

	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	/** 
	 * Returns the commentcontent.
	 * @return String
	 */
	public String getCommentcontent() {
		return commentcontent;
	}

	/** 
	 * Set the commentcontent.
	 * @param commentcontent The commentcontent to set
	 */
	public void setCommentcontent(String commentcontent) {
		this.commentcontent = commentcontent;
	}

	public String getCommentuser() {
		return commentuser;
	}

	public void setCommentuser(String commentuser) {
		this.commentuser = commentuser;
	}

	public String getCommentmail() {
		return commentmail;
	}

	public void setCommentmail(String commentmail) {
		this.commentmail = commentmail;
	}

	public String getCommenturl() {
		return commenturl;
	}

	public void setCommenturl(String commenturl) {
		this.commenturl = commenturl;
	}
}

⌨️ 快捷键说明

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