Package com.azure.core.models
Class GeoObjectType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<GeoObjectType>
-
- com.azure.core.models.GeoObjectType
-
public final class GeoObjectType extends ExpandableStringEnum<GeoObjectType>
Represents the type of a GeoJSON object.
-
-
Field Summary
Fields Modifier and Type Field Description static GeoObjectType
GEOMETRY_COLLECTION
GeoJSON geometry collection.static GeoObjectType
LINE_STRING
GeoJSON line string.static GeoObjectType
MULTI_LINE_STRING
GeoJSON multi-line string.static GeoObjectType
MULTI_POINT
GeoJSON multi-point.static GeoObjectType
MULTI_POLYGON
GeoJSON multi-polygon.static GeoObjectType
POINT
GeoJSON point.static GeoObjectType
POLYGON
GeoJSON polygon.
-
Constructor Summary
Constructors Constructor Description GeoObjectType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoObjectType
fromString(String name)
Creates or gets a GeoObjectType from its string representation.static Collection<GeoObjectType>
values()
Gets all known GeoObjectType values.-
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
-
-
-
Field Detail
-
POINT
public static final GeoObjectType POINT
GeoJSON point.
-
MULTI_POINT
public static final GeoObjectType MULTI_POINT
GeoJSON multi-point.
-
POLYGON
public static final GeoObjectType POLYGON
GeoJSON polygon.
-
MULTI_POLYGON
public static final GeoObjectType MULTI_POLYGON
GeoJSON multi-polygon.
-
LINE_STRING
public static final GeoObjectType LINE_STRING
GeoJSON line string.
-
MULTI_LINE_STRING
public static final GeoObjectType MULTI_LINE_STRING
GeoJSON multi-line string.
-
GEOMETRY_COLLECTION
public static final GeoObjectType GEOMETRY_COLLECTION
GeoJSON geometry collection.
-
-
Method Detail
-
fromString
public static GeoObjectType fromString(String name)
Creates or gets a GeoObjectType from its string representation.- Parameters:
name
- Name of the GeoObjectType.- Returns:
- The corresponding GeoObjectType.
-
values
public static Collection<GeoObjectType> values()
Gets all known GeoObjectType values.- Returns:
- All known GeoObjectType values.
-
-