?? feature.java
字號:
/*
* @(#)Feature.java 下午01:28:35 2006-7-6 2006
*
* Copyright (C) 2006 Beijing Spaceware High Tech. Co., Ltd.
* All rights reserved.
*
* Copyright (C) 2006 CyberGIS Studio, Peking University.
* All rights reserved.
*/
package cn.com.sdgis.gis.geobase;
import java.util.List;
import cn.com.sdgis.gis.geometry.Geometry;
/**
* TODO describe this class please.
*
* @author Zhang Xuehu
* @version
* @see
*
* Change log:
*/
public class Feature {
private Geometry shape;
private Fields fields;
/**
* @return Returns the fields.
*/
public Fields getFields() {
return fields;
}
/**
* @param fields The fields to set.
*/
public void setFields(Fields fields) {
this.fields = fields;
}
/**
* @return Returns the shape.
*/
public Geometry getShape() {
return shape;
}
/**
* @param shape The shape to set.
*/
public void setShape(Geometry shape) {
this.shape = shape;
}
/**
*
* @param name 屬性名
* @return 屬性值
*/
public Object getValue(String name){
return fields.getField(name).getValue();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -