newsactionform.java~4~

来自「jsp技术 基于struts框架的新闻发布系统」· JAVA~4~ 代码 · 共 59 行

JAVA~4~
59
字号
package com.victor.domain;

import org.apache.struts.action.*;


public class NewsActionForm
    extends ActionForm {
  private String newContent = "";
  private Integer newID = new Integer( -1);
  private String newIssueDate = "";
  private String newTitle = "";
  private String newsType="";
  public NewsActionForm() {}

  public String getNewsType() {
   return newsType;
 }

 public void setNewsType(String newsType) {
   this.newsType = newsType;
 }


  public String getNewContent() {
    return newContent;
  }

  public void setNewContent(String newContent) {
    this.newContent = newContent;
  }

  public Integer getNewID() {
    return newID;
  }

  public void setNewID(Integer newID) {
    this.newID = newID;
  }

  public String getNewIssueDate() {
    return newIssueDate;
  }

  public void setNewIssueDate(String newIssueDate) {
    this.newIssueDate = newIssueDate;
  }



  public String getNewTitle() {
    return newTitle;
  }

  public void setNewTitle(String newTitle) {
    this.newTitle = newTitle;
  }


}

⌨️ 快捷键说明

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