talkform.java~4~

来自「《struts应用开发完全手册》中的源代码及安装指导」· JAVA~4~ 代码 · 共 61 行

JAVA~4~
61
字号
package com.actionForm;

import org.apache.struts.action.ActionForm;


public class TalkForm extends ActionForm {
    private String content;
    private Integer id;
    private String leaveTime;
    private String topic;
    private String who;
    public TalkForm(){
    this.content="";
    this.id=Integer.valueOf("-1");
    this.leaveTime="";
    this.topic="";
    this.who="";
    }
    public String getContent() {
        return content;
    }

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

    public void setWho(String who) {
        this.who = who;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public String getLeaveTime() {
        return leaveTime;
    }

    public String getTopic() {
        return topic;
    }

    public String getWho() {
        return who;
    }


}

⌨️ 快捷键说明

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