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
geospatials
Fields 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, 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
-
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:Geospatial
Returns theEdmPrimitiveTypeKind
- Specified by:
getEdmPrimitiveTypeKind
in classGeospatial
- Returns:
- EDM primitive type kind
-