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
geospatials
Fields 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, toString
Methods inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
getDimension, getGeoType, getSrid
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:Geospatial
Returns theEdmPrimitiveTypeKind
- Specified by:
getEdmPrimitiveTypeKind
in classGeospatial
- Returns:
- EDM primitive type kind
-