roadfield.java
来自「Java的框架」· Java 代码 · 共 43 行
JAVA
43 行
package mcaps.apps.prrm.roaddefect.dao.util;
import java.sql.Types;
/**
* The representation of the road fields in the database
* to facilitate SQL query generation.
* @author jov
* @date Sep 23, 2005
* @version 1.0.1.0
*/
public interface RoadField {
public final static short MAX = 2;
public final static short GID = 0;
public final static short ROADNAME = 1;
public final static short BBOX = 2;
/**
* The array of field names.
*
* GID = 0;<br>
* ROADNAME = 1;<br>
* BBOX = 2;<br>
*/
public final static String[] FIELDS =
new String[] { "GID", //0
"ROAD_NAME", //1
"box2d(the_geom) as bbox" //2
};
/**
* The array of field types according to the field names order.
*/
public final static short[] FIELDTYPES =
new short[] { Types.NUMERIC, //GID,
Types.VARCHAR, //ROADNAME,
Types.VARCHAR //BBOX
};
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?