afficheactionform.java

来自「基于struct结构的jsp」· Java 代码 · 共 77 行

JAVA
77
字号
package com.ntsky.bbs.form;

import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * <p>Title: Ntsky OpenSource BBS</p>
 * <p>Description: 用户信息Form</p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: WWW.FM880.COM</p>
 * @author 姚君林
 * @version 1.0
 */
public class AfficheActionForm extends ActionForm {

    private String name;
    private String title;
    private String content;
    private String time;
    public ActionErrors validate(ActionMapping actionMapping,
                                 HttpServletRequest httpServletRequest) {
        /**@todo: finish this method, this is just the skeleton.*/
        return null;
    }

    public void reset(ActionMapping actionMapping,
                      HttpServletRequest httpServletRequest) {
    }

    /**
     * 发布人
     * @return String
     */
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 公告标题
     * @return String
     */
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 公告内容
     * @return String
     */
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 公告发布时间
     * @return String
     */
    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}

⌨️ 快捷键说明

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