messinfoform.java

来自「实现办公自动化系统」· Java 代码 · 共 168 行

JAVA
168
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.oa.struts.perOffice.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: 11-06-2008
 * 
 * XDoclet definition:
 * @struts.form name="messInfoForm"
 */
public class MessInfoForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** title property */
	private String title;

	/** isRead property */
	private String isRead;

	/** content property */
	private String content;

	/** mesInfoID property */
	private String mesInfoID;

	/** accepterID property */
	private String accepterID;

	/** senderID property */
	private String senderID;

	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		MessInfoForm info=new MessInfoForm();
		String title=info.getTitle();
		String content=info.getContent();
		String senderID=info.getSenderID();
		String accepterID=info.getAccepterID();
		
		return null;
	}

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

	/** 
	 * Returns the title.
	 * @return String
	 */
	public String getTitle() {
		return title;
	}

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

	/** 
	 * Returns the isRead.
	 * @return String
	 */
	public String getIsRead() {
		return isRead;
	}

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

	/** 
	 * Returns the content.
	 * @return String
	 */
	public String getContent() {
		return content;
	}

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

	/** 
	 * Returns the mesInfoID.
	 * @return String
	 */
	public String getMesInfoID() {
		return mesInfoID;
	}

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

	/** 
	 * Returns the accepterID.
	 * @return String
	 */
	public String getAccepterID() {
		return accepterID;
	}

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

	/** 
	 * Returns the senderID.
	 * @return String
	 */
	public String getSenderID() {
		return senderID;
	}

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

⌨️ 快捷键说明

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