companyform.java

来自「JSP+Struts+缓存的公司管理系统」· Java 代码 · 共 88 行

JAVA
88
字号
//---------------------------------------------------------
// Application: Company Applcation
// Author     : Cao guangxin
// File       : CompanyForm.java
//
// Copyright 2006 RelationInfo Software
//
// Writed at Wed Apr 12 08:58:55 CST 2006
// writed by Eclipse SDK
// Visit http://www.37signals.cn
//---------------------------------------------------------

package net.cn37signals.company.controller;

import org.apache.struts.validator.ValidatorForm;


public class CompanyForm extends ValidatorForm {
  public  static int ADD = 1;
  public  static int EDIT = 2;
  private int strutsAction;
  private String strutsButton = "";
  private String name = "";
  private String address = "";
  private String city = "";
  private String zip = "";
  private String country = "";
  private String foundDate = "";
  private long id = 0;

  public int getStrutsAction() {
    return strutsAction;
  }
  public String getStrutsButton() {
    return strutsButton;
  }
  public String getName() {
    return name;
  }
  public String getAddress() {
    return address;
  }
  public String getCity() {
    return city;
  }
  public String getZip() {
    return zip;
  }
  public String getCountry() {
    return country;
  }
  public String getFoundDate() {
    return foundDate;
  }
  public long getId() {
    return id;
  }

  public void setStrutsAction(int strutsAction) {
    this.strutsAction = strutsAction;
  }
  public void setStrutsButton(String strutsButton) {
    this.strutsButton = strutsButton;
  }
  public void setName(String name) {
    this.name = name;
  }
  public void setAddress(String address) {
    this.address = address;
  }
  public void setCity(String city) {
    this.city = city;
  }
  public void setZip(String zip) {
    this.zip = zip;
  }
  public void setCountry(String country) {
    this.country = country;
  }
  public void setFoundDate(String foundDate) {
    this.foundDate = foundDate;
  }
  public void setId(long id) {
    this.id = id;
  }

}

⌨️ 快捷键说明

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