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

📄 addnewsform.java

📁 新闻系统  此系统是用struts+spring+hibernate开发的 开发环境:eclipse3.1+MyEclipse4.1+tomcat 5.0+oracle 8.1 整个系统实现
💻 JAVA
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.1.1/xslt/JavaClass.xslpackage com.news.struts.form;import java.util.List;import org.apache.struts.action.ActionForm;/**  * MyEclipse Struts * Creation date: 07-15-2006 *  * XDoclet definition: * @struts.form name="addNewsForm" */public class AddNewsForm extends ActionForm {	// --------------------------------------------------------- Instance Variables	/** newcontent property */	private String newcontent;	/** newauthor property */	private String newauthor;	/** newtitle property */	private String newtitle;	/** newfrom property */	private String newfrom;	/** id property */	private String id;		private String newdate;		private String date2;		private List list;		private String typeid;		private String strPageBreak;	// --------------------------------------------------------- Methods	public String getStrPageBreak() {		return strPageBreak;	}	public void setStrPageBreak(String strPageBreak) {		this.strPageBreak = strPageBreak;	}	/** 	 * Returns the newcontent.	 * @return String	 */	public String getNewcontent() {		return newcontent;	}	/** 	 * Set the newcontent.	 * @param newcontent The newcontent to set	 */	public void setNewcontent(String newcontent) {		this.newcontent = newcontent;	}	/** 	 * Returns the newauthor.	 * @return String	 */	public String getNewauthor() {		return newauthor;	}	/** 	 * Set the newauthor.	 * @param newauthor The newauthor to set	 */	public void setNewauthor(String newauthor) {		this.newauthor = newauthor;	}	/** 	 * Returns the newtitle.	 * @return String	 */	public String getNewtitle() {		return newtitle;	}	/** 	 * Set the newtitle.	 * @param newtitle The newtitle to set	 */	public void setNewtitle(String newtitle) {		this.newtitle = newtitle;	}	/** 	 * Returns the newfrom.	 * @return String	 */	public String getNewfrom() {		return newfrom;	}	/** 	 * Set the newfrom.	 * @param newfrom The newfrom to set	 */	public void setNewfrom(String newfrom) {		this.newfrom = newfrom;	}	/** 	 * Returns the id.	 * @return String	 */	public String getId() {		return id;	}	/** 	 * Set the id.	 * @param id The id to set	 */	public void setId(String id) {		this.id = id;	}	public List getList() {		return list;	}	public void setList(List list) {		this.list = list;	}		public void add(Object obj){		list.add(obj);	}	public String getDate2() {		return date2;	}	public void setDate2(String date2) {		this.date2 = date2;	}	public String getNewdate() {		return newdate;	}	public void setNewdate(String newdate) {		this.newdate = newdate;	}	public String getTypeid() {		return typeid;	}	public void setTypeid(String typeid) {		this.typeid = typeid;	}}

⌨️ 快捷键说明

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