newarticleform.java

来自「使用hibernate+struts2+spring实现的网上聊天系统」· Java 代码 · 共 45 行

JAVA
45
字号
package j2eebbs.user.form;

import org.apache.struts.action.ActionForm;

/**
 * <strong>UserInsertForm </strong> handles the form that the user will use to
 * insert a new user into the database.
 */

public final class NewArticleForm extends ActionForm {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String title;
    
    private String content;

    /**
     * @return Returns the content.
     */
    public String getContent() {
        return content;
    }
    /**
     * @param content The content to set.
     */
    public void setContent(String content) {
        this.content = content;
    }
    /**
     * @return Returns the title.
     */
    public String getTitle() {
        return title;
    }
    /**
     * @param title The title to set.
     */
    public void setTitle(String title) {
        this.title = title;
    }
}

⌨️ 快捷键说明

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