package org.mongodb.morphia.geo;
An enumeration of the GeoJSON coordinate reference system types.
/**
* An enumeration of the GeoJSON coordinate reference system types.
*/
public enum CoordinateReferenceSystemType {
A coordinate reference system that is specified by name
/**
* A coordinate reference system that is specified by name
*/
NAME("name"),
A coordinate reference system that is specified by a dereferenceable URI
/**
* A coordinate reference system that is specified by a dereferenceable URI
*/
LINK("link");
private final String typeName;
CoordinateReferenceSystemType(final String typeName) {
this.typeName = typeName;
}
Gets the GeoJSON-defined name for the type.
Returns: the GeoJSON-defined type name
/**
* Gets the GeoJSON-defined name for the type.
*
* @return the GeoJSON-defined type name
*/
public String getTypeName() {
return typeName;
}
}