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.JsonProperty;
public class Feature
extends GeoJsonObject
{
private final String type = "Feature";
private Object id = null;
private Geometry geometry = null;
private Properties properties = null;
@JsonProperty("type")
public void setType(final String type) {
}
@JsonProperty("type")
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;
}
}