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

📄 field.java

📁 读取shp文件,不依赖于其他架包 FeatureClass 主类
💻 JAVA
字号:
/*
 * @(#)Field.java  上午10:17:51 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 cn.com.sdgis.gis.Constants.FieldType;



/**
 * TODO describe this class please.
 *
 * @author Zhang Xuehu
 * @version
 * @see
 *
 * Change log:
 */
public class Field {

    private FieldType type;
    
    private String name;
    
    private int length;
    
    private int scale;
    
    private Object value;

    /**
     * @return Returns the length.
     */
    public int getLength() {
        return length;
    }

    /**
     * @param length The length to set.
     */
    public void setLength(int length) {
        this.length = length;
    }

    /**
     * @return Returns the name.
     */
    public String getName() {
        return name;
    }

    /**
     * @param name The name to set.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return Returns the scale.
     */
    public int getScale() {
        return scale;
    }

    /**
     * @param scale The scale to set.
     */
    public void setScale(int scale) {
        this.scale = scale;
    }

    /**
     * @return Returns the type.
     */
    public FieldType getType() {
        return type;
    }

    /**
     * @param type The type to set.
     */
    public void setType(FieldType type) {
        this.type = type;
    }
    
    /**
     * @return Returns the value.
     */
    public Object getValue() {
        return value;
    }

    /**
     * @param value The value to set.
     */
    public void setValue(Object value) {
        this.value = value;
    }
    
    
}

⌨️ 快捷键说明

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