Package dev.morphia.geo
Enum GeoJsonType
- java.lang.Object
-
- java.lang.Enum<GeoJsonType>
-
- dev.morphia.geo.GeoJsonType
-
- All Implemented Interfaces:
Serializable
,Comparable<GeoJsonType>
@Deprecated(since="2.0", forRemoval=true) public enum GeoJsonType extends Enum<GeoJsonType>
Deprecated, for removal: This API element is subject to removal in a future version.use the driver defined typesEnumerates all the GeoJson types that are currently supported by Morphia.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINE_STRING
Deprecated, for removal: This API element is subject to removal in a future version.MULTI_LINE_STRING
Deprecated, for removal: This API element is subject to removal in a future version.MULTI_POINT
Deprecated, for removal: This API element is subject to removal in a future version.MULTI_POLYGON
Deprecated, for removal: This API element is subject to removal in a future version.POINT
Deprecated, for removal: This API element is subject to removal in a future version.POLYGON
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Geometry
createGeometry(List<?> geometries)
Deprecated, for removal: This API element is subject to removal in a future version.static GeoJsonType
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 GeoJsonType[]
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
-
POINT
public static final GeoJsonType POINT
Deprecated, for removal: This API element is subject to removal in a future version.
-
LINE_STRING
public static final GeoJsonType LINE_STRING
Deprecated, for removal: This API element is subject to removal in a future version.
-
POLYGON
public static final GeoJsonType POLYGON
Deprecated, for removal: This API element is subject to removal in a future version.
-
MULTI_POINT
public static final GeoJsonType MULTI_POINT
Deprecated, for removal: This API element is subject to removal in a future version.
-
MULTI_LINE_STRING
public static final GeoJsonType MULTI_LINE_STRING
Deprecated, for removal: This API element is subject to removal in a future version.
-
MULTI_POLYGON
public static final GeoJsonType MULTI_POLYGON
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
values
public static GeoJsonType[] 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 (GeoJsonType c : GeoJsonType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoJsonType 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
-
-