Class ComposedGeospatial<T extends Geospatial>
java.lang.Object
org.apache.olingo.commons.api.edm.geo.Geospatial
org.apache.olingo.commons.api.edm.geo.ComposedGeospatial<T>
- Type Parameters:
T
- Type of the contained geospatial elements
- All Implemented Interfaces:
Iterable<T>
- Direct Known Subclasses:
GeospatialCollection
,LineString
,MultiLineString
,MultiPoint
,MultiPolygon
public abstract class ComposedGeospatial<T extends Geospatial>
extends Geospatial
implements Iterable<T>
Abstract base class for all Geometries that are composed out of other geospatial elements.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
Geospatial.Dimension, Geospatial.Type
-
Field Summary
FieldsFields inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
dimension, srid, type
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ComposedGeospatial
(Geospatial.Dimension dimension, Geospatial.Type type, SRID srid, List<T> geospatials) -
Method Summary
Methods inherited from class org.apache.olingo.commons.api.edm.geo.Geospatial
getDimension, getEdmPrimitiveTypeKind, 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
-
Field Details
-
geospatials
-
-
Constructor Details
-
ComposedGeospatial
protected ComposedGeospatial(Geospatial.Dimension dimension, Geospatial.Type type, SRID srid, List<T> geospatials)
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<T extends Geospatial>
-
isEmpty
public boolean isEmpty()Checks if is empty.- Returns:
- 'TRUE' if is empty; 'FALSE' otherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-