📄 luxianrow.java
字号:
package net.aetherial.gis.test.tools.bian2;
import jxl.Cell;
import net.aetherial.gis.dataType.TrackType;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2004</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class LuxianRow {
private String bianma = "";
private String Id = "";
private String luji = "";
private String lumian = "";
private String type = "";
private String licheng = "";
/**
* 路线编码 路段序号 路基宽度 路面宽度 路面类型 路段里程
*/
public LuxianRow() {
}
public String getLicheng() {
return licheng;
}
public String getType() {
return type;
}
public String getLumian() {
return lumian;
}
public String getLuji() {
return luji;
}
public String getId() {
return Id;
}
public void setBianma(String bianma) {
this.bianma = bianma;
}
public void setLicheng(String licheng) {
this.licheng = licheng;
}
public void setType(String type) {
int i = 4;
try {
i = Integer.parseInt(type.trim());
}
catch (NumberFormatException ex) {
}
this.type = TrackType.getRs_JTB(i);
}
public void setLumian(String lumian) {
this.lumian = lumian;
}
public void setLuji(String luji) {
this.luji = luji;
}
public void setId(String Id) {
this.Id = Id;
}
public String getBianma() {
return bianma;
}
public void setValue(Cell[] rowData) {
this.setBianma(rowData[1].getContents());
this.setId(rowData[2].getContents());
this.setLuji(rowData[3].getContents());
this.setLumian(rowData[4].getContents());
this.setType(rowData[5].getContents());
this.setLicheng(rowData[6].getContents());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -