Class GeospatialCollection
java.lang.Object
org.apache.olingo.commons.api.edm.geo.Geospatial
org.apache.olingo.commons.api.edm.geo.ComposedGeospatial<Geospatial>
org.apache.olingo.commons.api.edm.geo.GeospatialCollection
- All Implemented Interfaces:
Iterable<Geospatial>
Wrapper for a collection of geospatials info.
-
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
ConstructorsConstructorDescriptionGeospatialCollection(Geospatial.Dimension dimension, SRID srid, List<Geospatial> geospatials) Creates a new collection of geospatial types. -
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
-
GeospatialCollection
public GeospatialCollection(Geospatial.Dimension dimension, SRID srid, List<Geospatial> geospatials) Creates a new collection of geospatial types.- Parameters:
dimension- Dimension of the collectionsrid- SRID Valuegeospatials- Members of the collection
-
-
Method Details
-
getEdmPrimitiveTypeKind
Description copied from class:GeospatialReturns theEdmPrimitiveTypeKind- Specified by:
getEdmPrimitiveTypeKindin classGeospatial- Returns:
- EDM primitive type kind
-