/** * Sets the recommended reference to be used for the source data. * * @param newValue the new source citation. */ public void setSourceCitation(final Citation newValue) { checkWritePermission(sourceCitation); sourceCitation = newValue; }
/** * Sets the spatial resolution expressed as a scale factor, an angle or a level of detail. * * @param newValue the new spatial resolution. * * @since 0.5 */ public void setSourceSpatialResolution(final Resolution newValue) { checkWritePermission(); sourceSpatialResolution = newValue; }
/** * Sets the recommended reference to be used for the source data. * * @param newValue the new source citation. */ public void setSourceCitation(final Citation newValue) { checkWritePermission(); sourceCitation = newValue; }
/** * Sets the distance between consistent parts (centre, left side, right side) of two adjacent pixels. * * @param newValue the new nominal resolution value. */ public void setResolution(final NominalResolution newValue) { checkWritePermission(); resolution = newValue; } }
/** * Sets the spatial resolution expressed as a scale factor, an angle or a level of detail. * * @param newValue the new spatial resolution. * * @since 0.5 */ public void setSourceSpatialResolution(final Resolution newValue) { checkWritePermission(sourceSpatialResolution); sourceSpatialResolution = newValue; }
/** * Sets the type and / or extent of the source. * * @param newValue the new type and / or extent of the source. * * @since 0.5 */ public void setScope(final Scope newValue){ checkWritePermission(scope); scope = newValue; }
/** * Sets the processing level of the source data. * * @param newValue the new processed level value. */ public void setProcessedLevel(final Identifier newValue) { checkWritePermission(processedLevel); processedLevel = newValue; }
/** * Sets the spatial reference system used by the source data. * * @param newValue the new reference system. */ public void setSourceReferenceSystem(final ReferenceSystem newValue) { checkWritePermission(); sourceReferenceSystem = newValue; }
/** * Sets a detailed description of the level of the source data. * * @param newValue the new description. */ public void setDescription(final InternationalString newValue) { checkWritePermission(); description = newValue; }
/** * Sets the type and / or extent of the source. * * @param newValue the new type and / or extent of the source. * * @since 0.5 */ public void setScope(final Scope newValue){ checkWritePermission(); scope = newValue; }
/** * Sets the processing level of the source data. * * @param newValue the new processed level value. */ public void setProcessedLevel(final Identifier newValue) { checkWritePermission(); processedLevel = newValue; }
/** * Sets a detailed description of the level of the source data. * * @param newValue the new description. */ public void setDescription(final InternationalString newValue) { checkWritePermission(description); description = newValue; }
/** * Sets the spatial reference system used by the source data. * * @param newValue the new reference system. */ public void setSourceReferenceSystem(final ReferenceSystem newValue) { checkWritePermission(sourceReferenceSystem); sourceReferenceSystem = newValue; }
/** * Sets the distance between consistent parts (centre, left side, right side) of two adjacent pixels. * * @param newValue the new nominal resolution value. */ public void setResolution(final NominalResolution newValue) { checkWritePermission(resolution); resolution = newValue; }
/** * 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); }
/** * Sets the denominator of the representative fraction on a source map. * This method stores the value in the * {@linkplain #setSourceSpatialResolution(Resolution) source spatial resolution}. * * @param newValue the new scale denominator. * * @deprecated As of ISO 19115:2014, moved to {@link DefaultResolution#setEquivalentScale(RepresentativeFraction)}. */ @Deprecated public void setScaleDenominator(final RepresentativeFraction newValue) { checkWritePermission(); Resolution resolution = null; if (newValue != null) { resolution = sourceSpatialResolution; if (resolution instanceof DefaultResolution) { ((DefaultResolution) resolution).setEquivalentScale(newValue); } else { resolution = new DefaultResolution(newValue); } } /* * Invoke the non-deprecated setter method only if the reference changed, * for consistency with other deprecated setter methods in metadata module. */ if (resolution != sourceSpatialResolution) { setSourceSpatialResolution(resolution); } }
/** * Sets the denominator of the representative fraction on a source map. * This method stores the value in the * {@linkplain #setSourceSpatialResolution(Resolution) source spatial resolution}. * * @param newValue the new scale denominator. * * @deprecated As of ISO 19115:2014, moved to {@link DefaultResolution#setEquivalentScale(RepresentativeFraction)}. */ @Deprecated public void setScaleDenominator(final RepresentativeFraction newValue) { checkWritePermission(sourceSpatialResolution); Resolution resolution = null; if (newValue != null) { resolution = sourceSpatialResolution; if (resolution instanceof DefaultResolution) { ((DefaultResolution) resolution).setEquivalentScale(newValue); } else { resolution = new DefaultResolution(newValue); } } /* * Invoke the non-deprecated setter method only if the reference changed, * for consistency with other deprecated setter methods in metadata module. */ if (resolution != sourceSpatialResolution) { setSourceSpatialResolution(resolution); } }