Class Geospatial
java.lang.Object
org.apache.olingo.commons.api.edm.geo.Geospatial
- Direct Known Subclasses:
ComposedGeospatial
,Point
,Polygon
Base class for all geospatial info.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Dimension of the geospatial typestatic enum
Type of the geospatial type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Geospatial.Dimension
protected final SRID
Null value means it is expected to vary per instance.protected final Geospatial.Type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Geospatial
(Geospatial.Dimension dimension, Geospatial.Type type, SRID srid) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets dimension.abstract EdmPrimitiveTypeKind
Returns theEdmPrimitiveTypeKind
Gets type.getSrid()
Gets s-rid.
-
Field Details
-
dimension
-
type
-
srid
Null value means it is expected to vary per instance.
-
-
Constructor Details
-
Geospatial
Constructor.- Parameters:
dimension
- dimensiontype
- typesrid
- SRID
-
-
Method Details
-
getDimension
Gets dimension.- Returns:
- dimension.
- See Also:
-
getGeoType
Gets type.- Returns:
- type.
- See Also:
-
getSrid
Gets s-rid.- Returns:
- s-rid.
-
getEdmPrimitiveTypeKind
Returns theEdmPrimitiveTypeKind
- Returns:
- EDM primitive type kind
-