org.schema.GeoCircle Maven / Gradle / Ivy
package org.schema;
/**
* Schema.org/GeoCircle
* A GeoCircle is a GeoShape representing a circular geographic area. As it is a GeoShape
* it provides the simple textual property 'circle', but also allows the combination of postalCode alongside geoRadius.
* The center of the circle can be indicated via the 'geoMidpoint' property, or more approximately using 'address', 'postalCode'.
*
* @author schema.org
* @class GeoCircle
* @module org.schema
* @extends GeoShape
*/
public class GeoCircle extends GeoShape {
/**
* Schema.org/geoRadius
* Indicates the approximate radius of a GeoCircle (metres unless indicated otherwise via Distance notation).
*
* @property geoRadius
* @type Number
*/
public Double geoRadius;
/**
* Schema.org/geoMidpoint
* Indicates the GeoCoordinates at the centre of a GeoShape e.g. GeoCircle.
*
* @property geoMidpoint
* @type GeoCoordinates
*/
public GeoCoordinates geoMidpoint;
/**
* Constructor, automatically sets @context and @type.
*
* @constructor
*/
public GeoCircle() {
context = "http://schema.org/";
type = "GeoCircle";
}
}