Class MultiPolygon
java.lang.Object
org.apache.olingo.commons.api.edm.geo.Geospatial
org.apache.olingo.commons.api.edm.geo.ComposedGeospatial<Polygon>
org.apache.olingo.commons.api.edm.geo.MultiPolygon
Represents a collection of polygons.
Either Edm.GeographyMultiPolygon or Edm.GeometryMultiPolygon
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
Geospatial.Dimension, Geospatial.Type -
Field Summary
Fields inherited from class org.apache.olingo.commons.api.edm.geo.ComposedGeospatial
geospatialsFields inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
dimension, srid, type -
Constructor Summary
ConstructorsConstructorDescriptionMultiPolygon(Geospatial.Dimension dimension, SRID srid, List<Polygon> polygons) Creates a collection of polygons -
Method Summary
Methods inherited from class org.apache.olingo.commons.api.edm.geo.ComposedGeospatial
equals, hashCode, isEmpty, iterator, toStringMethods inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
getDimension, getGeoType, getSridMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MultiPolygon
Creates a collection of polygons- Parameters:
dimension- Dimension of the polygonssrid- SRID valuepolygons- List of polygons
-
-
Method Details
-
getEdmPrimitiveTypeKind
Description copied from class:GeospatialReturns theEdmPrimitiveTypeKind- Specified by:
getEdmPrimitiveTypeKindin classGeospatial- Returns:
- EDM primitive type kind
-