?? noteanswerform.java
字號:
package com.yhcms.manage.note.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* <p>Title:系統后臺留言回答Form</p>
* <li>提交留言回答Action</li>
* <br><b>CopyRight: yyhweb[由由華網]</b>
* @author stephen
* @version YH-2.0
*/
public class NoteAnswerForm extends ActionForm{
private static final long serialVersionUID = 1L;
private int id = 0;
private String title = "";
private String content = "";
private String author = "";
private String comefrom = "";
private String weburl = "";
private String email = "";
private String qq = "";
private String answer = "";
private String action = "";
/** 取得文章Id
* @return 文章Id
* */
public int getId(){
return id;
}
/** 設置文章Id
* @param id 文章Id
*/
public void setId(int id){
this.id = id;
}
/**
* @return 文章作者
*/
public String getAuthor(){
return author;
}
/** 設置文章作者
* @param author 文章作者
*/
public void setAuthor(String author){
this.author = author.trim();
}
/** 取得留言標題
* @return 留言標題
*/
public String getTitle() {
return title;
}
/** 設置留言標題
* @param title 留言標題
*/
public void setTitle(String title) {
this.title = title.trim();
}
/** 取得留言內容
* @return 留言內容
*/
public String getContent() {
return content;
}
/** 設置留言內容
* @param content 留言內容
*/
public void setContent(String content) {
this.content = content.trim();
}
public String getComefrom() {
return comefrom;
}
public void setComefrom(String comefrom) {
this.comefrom = comefrom.trim();
}
public String getAnswer() {
return answer;
}
public void setAnswer(String answer) {
this.answer = answer.trim();
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email.trim();
}
public String getQq() {
return qq;
}
public void setQq(String qq) {
this.qq = qq.trim();
}
public String getWeburl() {
return weburl;
}
public void setWeburl(String weburl) {
this.weburl = weburl.trim();
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public ActionErrors validate(ActionMapping actionmapping,HttpServletRequest request){
return null;
}
public void reset(ActionMapping actionmapping,HttpServletRequest request){
id = 0;
title = "";
content = "";
author = "";
comefrom = "";
weburl = "";
email = "";
qq = "";
answer = "";
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -