net.anwiba.spatial.geo.json.schema.v01_0.GeometryProperty Maven / Gradle / Ivy
//Copyright (c) 2012 by Andreas W. Bartels ([email protected])
package net.anwiba.spatial.geo.json.schema.v01_0;
import com.fasterxml.jackson.annotation.JsonProperty;
import net.anwiba.commons.json.schema.v1_0.Property;
import net.anwiba.spatial.geo.json.v01_0.Crs;
public class GeometryProperty
extends Property
{
private String type = null;
private Integer dimension = Integer.valueOf(2);
private Boolean isMeasured = Boolean.valueOf(false);
private double[] bbox = null;
private Crs crs = null;
@JsonProperty("type")
public void setType(final String type) {
this.type = type;
}
@JsonProperty("type")
public String getType() {
return this.type;
}
@JsonProperty("dimension")
public void setDimension(final Integer dimension) {
this.dimension = dimension;
}
@JsonProperty("dimension")
public Integer getDimension() {
return this.dimension;
}
@JsonProperty("isMeasured")
public void setIsMeasured(final Boolean isMeasured) {
this.isMeasured = isMeasured;
}
@JsonProperty("isMeasured")
public Boolean isMeasured() {
return this.isMeasured;
}
@JsonProperty("bbox")
public void setBbox(final double[] bbox) {
this.bbox = bbox;
}
@JsonProperty("bbox")
public double[] getBbox() {
return this.bbox;
}
@JsonProperty("crs")
public void setCrs(final Crs crs) {
this.crs = crs;
}
@JsonProperty("crs")
public Crs getCrs() {
return this.crs;
}
}