Package dev.morphia.geo
Enum CoordinateReferenceSystemType
- java.lang.Object
-
- java.lang.Enum<CoordinateReferenceSystemType>
-
- dev.morphia.geo.CoordinateReferenceSystemType
-
- All Implemented Interfaces:
Serializable
,Comparable<CoordinateReferenceSystemType>
@Deprecated(since="2.0", forRemoval=true) public enum CoordinateReferenceSystemType extends Enum<CoordinateReferenceSystemType>
Deprecated, for removal: This API element is subject to removal in a future version.use the driver-provided types insteadAn enumeration of the GeoJSON coordinate reference system types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINK
Deprecated, for removal: This API element is subject to removal in a future version.A coordinate reference system that is specified by a dereferenceable URINAME
Deprecated, for removal: This API element is subject to removal in a future version.A coordinate reference system that is specified by name
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getTypeName()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the GeoJSON-defined name for the type.static CoordinateReferenceSystemType
valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name.static CoordinateReferenceSystemType[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final CoordinateReferenceSystemType NAME
Deprecated, for removal: This API element is subject to removal in a future version.A coordinate reference system that is specified by name
-
LINK
public static final CoordinateReferenceSystemType LINK
Deprecated, for removal: This API element is subject to removal in a future version.A coordinate reference system that is specified by a dereferenceable URI
-
-
Method Detail
-
values
public static CoordinateReferenceSystemType[] values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CoordinateReferenceSystemType c : CoordinateReferenceSystemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoordinateReferenceSystemType valueOf(String name)
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getTypeName
public String getTypeName()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the GeoJSON-defined name for the type.- Returns:
- the GeoJSON-defined type name
-
-