📄 view.java
字号:
/*
* @(#)View.java
*
* 创建日期 2005-4-21
* Copyright 2005 东软 国际合作事业部. All rights reserved.
*/
package liyong.form;
import org.apache.struts.action.ActionForm;
/**
* 这个类用来得到或者设定页面上要显示的数据
*
* @author 李勇
*
*/
public final class View extends ActionForm {
/** 字符串fno是用来得到或者是设定数据库字段fno的值 */
private String fno;
/** 字符串fcountry是用来得到或者是设定数据库字段fcountry的值 */
private String fcountry;
/** 字符串fcom是用来得到或者是设定数据库字段fcom的值 */
private String fcom;
/** 字符串iout是用来得到或者是设定数据库字段iout的值 */
private String iout;
/** 得到第一个文本框中的值即第一个城市的出发时间 */
private String text1;
/** 得到第二个文本框中的值即第二个城市的到达时间 */
private String text2;
/** 得到第三个文本框中的值即第二个城市的出发时间 */
private String text3;
/** 得到第四个文本框中的值即第三个城市的到达时间 */
private String text4;
/** 得到第五个文本框中的值即第三个城市的出发时间 */
private String text5;
/** 得到第六个文本框中的值即第四个城市的到达时间 */
private String text6;
/** 得到经过的第一个城市名 */
private String fcity1;
/** 得到经过的第二个城市名 */
private String fcity2;
/** 得到经过的第三个城市名 */
private String fcity3;
/** 得到经过的第四个城市名 */
private String fcity4;
/** 得到经过的城市 */
private String fcity;
/** 得到经过的城市名 */
private String cityname;
/** 得到经过城市的到达时间 */
private String ctime;
/** 得到经过城市的出发时间 */
private String gtime;
/** 方法getFno()得到fno的值 */
public String getFno() {
return (this.fno);
}
/** 方法setFno()是给变量fno赋值 */
public void setFno(String fno) {
this.fno = fno;
}
/** 方法getFcountry()得到fcountry的值 */
public String getFcountry() {
return (this.fcountry);
}
/** 方法setFcountry()是给变量fcountry赋值 */
public void setFcountry(String fcountry) {
this.fcountry = fcountry;
}
/** 方法getFcom()得到fcom的值 */
public String getFcom() {
return (this.fcom);
}
/** 方法setFcom()是给变量fcom赋值 */
public void setFcom(String fcom) {
this.fcom = fcom;
}
/** 方法getIout()得到iout的值 */
public String getIout() {
return (this.iout);
}
/** 方法setIout()是给变量iout赋值 */
public void setIout(String iout) {
this.iout = iout;
}
/** 方法getFcity()得到fcity的值 */
public String getFcity() {
return (this.fcity);
}
/** 方法setFcity()是给变量fcity赋值 */
public void setFcity(String fcity) {
this.fcity = fcity;
}
/** 得到第一个文本框中的输入的值 */
public String getText1() {
return (this.text1);
}
/** 设定第一个文本框的值 */
public void setText1(String text) {
this.text1 = text;
}
/** 得到第二个文本框中的输入的值 */
public String getText2() {
return (this.text2);
}
/** 设定第二个文本框的值 */
public void setText2(String text) {
this.text2 = text;
}
/** 得到第三个文本框中的输入的值 */
public String getText3() {
return (this.text3);
}
/** 设定第三个文本框的值 */
public void setText3(String text) {
this.text3 = text;
}
/** 得到第四个文本框中的输入的值 */
public String getText4() {
return (this.text4);
}
/** 设定第四个文本框的值 */
public void setText4(String text) {
this.text4 = text;
}
/** 得到第五个文本框中的输入的值 */
public String getText5() {
return (this.text5);
}
/** 设定第五个文本框的值 */
public void setText5(String text) {
this.text5 = text;
}
/** 得到第六个文本框中的输入的值 */
public String getText6() {
return (this.text6);
}
/** 设定第六个文本框的值 */
public void setText6(String text) {
this.text6 = text;
}
/** 设定经过的第一个城市名 */
public void setFcity1(String city) {
this.fcity1 = city;
}
/** 得到经过的第一个城市名 */
public String getFcity1() {
return (this.fcity1);
}
/** 设定经过的第二个城市名 */
public void setFcity2(String city) {
this.fcity2 = city;
}
/** 得到经过的第二个城市名 */
public String getFcity2() {
return (this.fcity2);
}
/** 设定经过的第三个城市名 */
public void setFcity3(String city) {
this.fcity3 = city;
}
/** 得到经过的第三个城市名 */
public String getFcity3() {
return (this.fcity3);
}
/** 设定经过的第四个城市名 */
public void setFcity4(String city) {
this.fcity4 = city;
}
/** 得到经过的第四个城市名 */
public String getFcity4() {
return (this.fcity4);
}
/** 设定经过的城市名 */
public void setCityname(String cityname) {
this.cityname = cityname;
}
/** 得到经过的城市名 */
public String getCityname() {
return (this.cityname);
}
/** 设定经过城市的到达时间 */
public void setCtime(String ctime) {
this.ctime = ctime;
}
/** 得到经过城市的到达时间 */
public String getCtime() {
return (this.ctime);
}
/** 得到经过城市的出发时间 */
public String getGtime() {
return (this.gtime);
}
/** 设定经过城市的到达时间 */
public void setGtime(String gtime) {
this.gtime = gtime;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -