newsform.java

来自「上一上传oa系统漏掉web-inf文件夹」· Java 代码 · 共 143 行

JAVA
143
字号
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.oa.companyculture.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: 09-06-2007
 * 
 * XDoclet definition:
 * @struts.form name="newsForm"
 */
public class NewsForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** sort property */
	private String sort;

	/** title property */
	private String title;

	/** content property */
	private String content;

	/** source property */
	private String source;

	/** subtitle property */
	private String subtitle;

	/*
	 * 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 sort.
	 * @return String
	 */
	public String getSort() {
		return sort;
	}

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

	/** 
	 * 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 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 source.
	 * @return String
	 */
	public String getSource() {
		return source;
	}

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

	/** 
	 * Returns the subtitle.
	 * @return String
	 */
	public String getSubtitle() {
		return subtitle;
	}

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

⌨️ 快捷键说明

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