📄 newsform.java
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.1.1/xslt/JavaClass.xslpackage cn.lingqi.struts.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-25-2006 * * * XDoclet definition: * @struts.form name="newsForm" */public class NewsForm extends ActionForm { // --------------------------------------------------------- Instance Variables /** title property */ private String title; /** content property */ private String content; /** createDate property */ private String createDate; /** newsId property */ private String newsId; // --------------------------------------------------------- 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 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 createDate. * @return String */ public String getCreateDate() { return createDate; } /** * Set the createDate. * @param createDate The createDate to set */ public void setCreateDate(String createDate) { this.createDate = createDate; } /** * Returns the newsId. * @return String */ public String getNewsId() { return newsId; } /** * Set the newsId. * @param newsId The newsId to set */ public void setNewsId(String newsId) { this.newsId = newsId; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -