⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 querystationcommand.java~1~

📁 一个可以实现联网售票的火车售票管理系统
💻 JAVA~1~
字号:
package train.command;import train.parameter.*;import java.util.*;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2006</p> * <p>Company: 沈阳化工学院计算机</p> * @author 彭胜勇  胡林 * @version 1.0 */public class QueryStationCommand extends Command {    String station;    String staIndex;    List stationList;    public QueryStationCommand(String staIndex) {        this.staIndex = staIndex;    }    public void execute() {        try {            stationList = this.model.queryTrainWiID(staIndex);        } catch (Exception e) {            System.out.println("Exception queryUser fail!" + e.getMessage());        }    }    public List getStationList() {        return stationList;    }    public void setStation(String station) {        this.station = station;    }    public String getStation() {        return this.getStation();    }    public String toString() {        return trainID;    }}

⌨️ 快捷键说明

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