All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anwiba.spatial.geo.json.v01_0.Feature Maven / Gradle / Ivy

//Copyright (c) 2012 by Andreas W. Bartels ([email protected])
package net.anwiba.spatial.geo.json.v01_0;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

public class Feature
    extends GeoJsonObject
{

    private final String type = "Feature";
    private Object id = null;
    private Geometry geometry = null;
    private Properties properties = null;

    @JsonIgnore
    public void setType(final String type) {
    }

    @JsonIgnore
    public String getType() {
        return this.type;
    }

    @JsonProperty("id")
    public void setId(final Object id) {
        this.id = id;
    }

    @JsonProperty("id")
    public Object getId() {
        return this.id;
    }

    @JsonProperty("geometry")
    public void setGeometry(final Geometry geometry) {
        this.geometry = geometry;
    }

    @JsonProperty("geometry")
    public Geometry getGeometry() {
        return this.geometry;
    }

    @JsonProperty("properties")
    public void setProperties(final Properties properties) {
        this.properties = properties;
    }

    @JsonProperty("properties")
    public Properties getProperties() {
        return this.properties;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy