org.mongodb.morphia.geo.CoordinateReferenceSystemType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of morphia Show documentation
Show all versions of morphia Show documentation
Java Object Document Mapper for MongoDB
The newest version!
package org.mongodb.morphia.geo;
/**
* An enumeration of the GeoJSON coordinate reference system types.
*/
public enum CoordinateReferenceSystemType {
/**
* A coordinate reference system that is specified by name
*/
NAME("name"),
/**
* 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.
*
* @return the GeoJSON-defined type name
*/
public String getTypeName() {
return typeName;
}
}