/** * Information about the spatial, vertical and temporal extent of the source data. * This method stores the values in the {@linkplain #setScope(Scope) scope}. * * @param newValues the new source extents. * * @deprecated As of ISO 19115:2014, moved to {@link DefaultScope#setExtents(Collection)}. */ @Deprecated public void setSourceExtents(final Collection<? extends Extent> newValues) { checkWritePermission(scope); Scope scope = this.scope; if (!(scope instanceof DefaultScope)) { scope = new DefaultScope(scope); setScope(scope); } ((DefaultScope) scope).setExtents(newValues); }
/** * Information about the spatial, vertical and temporal extent of the source data. * This method stores the values in the {@linkplain #setScope(Scope) scope}. * * @param newValues the new source extents. * * @deprecated As of ISO 19115:2014, moved to {@link DefaultScope#setExtents(Collection)}. */ @Deprecated public void setSourceExtents(final Collection<? extends Extent> newValues) { checkWritePermission(); Scope scope = this.scope; if (!(scope instanceof DefaultScope)) { scope = new DefaultScope(scope); setScope(scope); } ((DefaultScope) scope).setExtents(newValues); }