📄 messageform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package cn.hxex.blog.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
/**
* MyEclipse Struts
* Creation date: 10-23-2007
*
* XDoclet definition:
* @struts.form name="messageForm"
*/
public class MessageForm extends ValidatorForm {
/*
* Generated fields
*/
/**
*
*/
private static final long serialVersionUID = 1L;
/** content property */
private String content;
/** id property */
private String id;
/** title property */
private String title;
/*
* Generated Methods
*/
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
this.id = null;
this.title = null;
this.content = null;
}
/**
* 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 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;
}
/**
* 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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -