Class ExtentImpl

    • Field Detail

      • WORLD

        public static final Extent WORLD
        A geographic extent ranging from 180°W to 180°E and 90°S to 90°N.
        Since:
        2.2
    • Constructor Detail

      • ExtentImpl

        public ExtentImpl()
        Constructs an initially empty extent.
      • ExtentImpl

        public ExtentImpl​(Extent source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
    • Method Detail

      • getDescription

        public InternationalString getDescription()
        Returns the spatial and temporal extent for the referring object.
        Specified by:
        getDescription in interface Extent
        Returns:
        The spatial and temporal extent, or null in none.
      • setDescription

        public void setDescription​(InternationalString newValue)
        Set the spatial and temporal extent for the referring object.
      • getGeographicElements

        public Collection<GeographicExtent> getGeographicElements()
        Provides geographic component of the extent of the referring object
        Specified by:
        getGeographicElements in interface Extent
        Returns:
        The geographic extent, or an empty set if none.
      • setGeographicElements

        public void setGeographicElements​(Collection<? extends GeographicExtent> newValues)
        Set geographic component of the extent of the referring object
      • getTemporalElements

        public Collection<TemporalExtent> getTemporalElements()
        Provides temporal component of the extent of the referring object
        Specified by:
        getTemporalElements in interface Extent
        Returns:
        The temporal extent, or an empty set if none.
      • setTemporalElements

        public void setTemporalElements​(Collection<? extends TemporalExtent> newValues)
        Set temporal component of the extent of the referring object
      • getVerticalElements

        public Collection<VerticalExtent> getVerticalElements()
        Provides vertical component of the extent of the referring object
        Specified by:
        getVerticalElements in interface Extent
        Returns:
        The vertical extent, or an empty set if none.
      • setVerticalElements

        public void setVerticalElements​(Collection<? extends VerticalExtent> newValues)
        Set vertical component of the extent of the referring object
      • getGeographicBoundingBox

        public static GeographicBoundingBox getGeographicBoundingBox​(Extent extent)
        Convenience method returning a single geographic bounding box from the specified extent. If no bounding box was found, then this method returns null. If more than one box is found, then boxes are added together.
        Since:
        2.2