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 enumDimension of the geospatial typestatic enumType of the geospatial type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Geospatial.Dimensionprotected final SRIDNull value means it is expected to vary per instance.protected final Geospatial.Type -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGeospatial(Geospatial.Dimension dimension, Geospatial.Type type, SRID srid) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets dimension.abstract EdmPrimitiveTypeKindReturns theEdmPrimitiveTypeKindGets 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
-