?? flightbeanform.java
字號:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yc.struts.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 01-07-2009
*
* XDoclet definition:
* @struts.form name="flightBeanForm"
*/
public class FlightBeanForm extends ActionForm {
/*
* Generated fields
*/
/** end_place property */
private String end_place;
/** time property */
private Integer time;
/** price property */
private Double price;
/** start_place property */
private String start_place;
/** flight_no property */
private String flight_no;
/*
* Generated Methods
*/
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
/**
* Returns the end_place.
* @return String
*/
public String getEnd_place() {
return end_place;
}
/**
* Set the end_place.
* @param end_place The end_place to set
*/
public void setEnd_place(String end_place) {
this.end_place = end_place;
}
/**
* Returns the time.
* @return Integer
*/
public Integer getTime() {
return time;
}
/**
* Set the time.
* @param time The time to set
*/
public void setTime(Integer time) {
this.time = time;
}
/**
* Returns the price.
* @return Double
*/
public Double getPrice() {
return price;
}
/**
* Set the price.
* @param price The price to set
*/
public void setPrice(Double price) {
this.price = price;
}
/**
* Returns the start_place.
* @return String
*/
public String getStart_place() {
return start_place;
}
/**
* Set the start_place.
* @param start_place The start_place to set
*/
public void setStart_place(String start_place) {
this.start_place = start_place;
}
/**
* Returns the flight_no.
* @return String
*/
public String getFlight_no() {
return flight_no;
}
/**
* Set the flight_no.
* @param flight_no The flight_no to set
*/
public void setFlight_no(String flight_no) {
this.flight_no = flight_no;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -