newsform.java

来自「Java企业级开发项目实践,这是他的附光盘」· Java 代码 · 共 62 行

JAVA
62
字号
//---------------------------------------------------------
// Application: Portal of Enterprice
// Author     : eSingle
// File       : NewsForm.java
//
// Copyright 2002 LandSoft Corp.
//
// Generated at Mon Nov 18 20:04:55 CST 2002
// Created by caoguangxin
// mailto:gxcao@mail.tsinghua.edu.cn
//---------------------------------------------------------

package com.landsoft.portal.controller;

import org.apache.struts.action.*;
import org.apache.struts.validator.*;

import com.landsoft.portal.model.*;

public class NewsForm extends ValidatorForm {
  public final static int ADD = 1;
  public final static int EDIT = 2;
  private int strutsAction;
  private String strutsButton = "";
  private String content = "";
  private String author = "";
  private String title = "";

  public int getStrutsAction() {
    return strutsAction;
  }
  public String getStrutsButton() {
    return strutsButton;
  }
  public String getContent() {
    return content;
  }
  public String getAuthor() {
    return author;
  }
  public String getTitle() {
    return title;
  }

  public void setStrutsAction(int strutsAction) {
    this.strutsAction = strutsAction;
  }
  public void setStrutsButton(String strutsButton) {
    this.strutsButton = strutsButton;
  }
  public void setContent(String content) {
    this.content = content;
  }
  public void setAuthor(String author) {
    this.author = author;
  }
  public void setTitle(String title) {
    this.title = title;
  }

}

⌨️ 快捷键说明

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