/** * Sets the information about the format of the result coverage data. * * @param newValue the new result format value. */ public void setResultFormat(final Format newValue) { checkWritePermission(resultFormat); resultFormat = newValue; }
/** * Returns a SIS metadata implementation with the values of the given arbitrary implementation. * This method performs the first applicable action in the following choices: * * <ul> * <li>If the given object is {@code null}, then this method returns {@code null}.</li> * <li>Otherwise if the given object is already an instance of * {@code DefaultCoverageResult}, then it is returned unchanged.</li> * <li>Otherwise a new {@code DefaultCoverageResult} instance is created using the * {@linkplain #DefaultCoverageResult(CoverageResult) copy constructor} * and returned. Note that this is a <cite>shallow</cite> copy operation, since the other * metadata contained in the given object are not recursively copied.</li> * </ul> * * @param object the object to get as a SIS implementation, or {@code null} if none. * @return a SIS implementation containing the values of the given object (may be the * given object itself), or {@code null} if the argument was null. */ public static DefaultCoverageResult castOrCopy(final CoverageResult object) { if (object == null || object instanceof DefaultCoverageResult) { return (DefaultCoverageResult) object; } return new DefaultCoverageResult(object); }
return DefaultCoverageResult.castOrCopy((CoverageResult) object);
/** * Returns a SIS metadata implementation with the values of the given arbitrary implementation. * This method performs the first applicable action in the following choices: * * <ul> * <li>If the given object is {@code null}, then this method returns {@code null}.</li> * <li>Otherwise if the given object is already an instance of * {@code DefaultCoverageResult}, then it is returned unchanged.</li> * <li>Otherwise a new {@code DefaultCoverageResult} instance is created using the * {@linkplain #DefaultCoverageResult(CoverageResult) copy constructor} * and returned. Note that this is a <cite>shallow</cite> copy operation, since the other * metadata contained in the given object are not recursively copied.</li> * </ul> * * @param object the object to get as a SIS implementation, or {@code null} if none. * @return a SIS implementation containing the values of the given object (may be the * given object itself), or {@code null} if the argument was null. */ public static DefaultCoverageResult castOrCopy(final CoverageResult object) { if (object == null || object instanceof DefaultCoverageResult) { return (DefaultCoverageResult) object; } return new DefaultCoverageResult(object); }
return DefaultCoverageResult.castOrCopy((CoverageResult) object);
/** * Sets the digital representation of data quality measures composing the coverage result. * * @param newValue the new spatial representation value. */ public void setResultSpatialRepresentation(final SpatialRepresentation newValue) { checkWritePermission(); resultSpatialRepresentation = newValue; }
/** * Sets the information about the data file containing the result coverage data. * * @param newValue the new result file value. */ public void setResultFile(final DataFile newValue) { checkWritePermission(); resultFile = newValue; } }
/** * Sets the digital representation of data quality measures composing the coverage result. * * @param newValue the new spatial representation value. */ public void setResultSpatialRepresentation(final SpatialRepresentation newValue) { checkWritePermission(resultSpatialRepresentation); resultSpatialRepresentation = newValue; }
/** * Sets the information about the data file containing the result coverage data. * * @param newValue the new result file value. */ public void setResultFile(final DataFile newValue) { checkWritePermission(resultFile); resultFile = newValue; } }
/** * Sets the method used to spatially represent the coverage result. * * @param newValue the new spatial representation type value. */ public void setSpatialRepresentationType(final SpatialRepresentationType newValue) { checkWritePermission(); spatialRepresentationType = newValue; }
/** * Sets the description of the content of the result coverage, i.e. semantic definition * of the data quality measures. * * @param newValue the new content description value. */ public void setResultContentDescription(final CoverageDescription newValue) { checkWritePermission(); resultContentDescription = newValue; }
/** * Sets the information about the format of the result coverage data. * * @param newValue the new result format value. */ public void setResultFormat(final Format newValue) { checkWritePermission(); resultFormat = newValue; }
/** * Sets the method used to spatially represent the coverage result. * * @param newValue the new spatial representation type value. */ public void setSpatialRepresentationType(final SpatialRepresentationType newValue) { checkWritePermission(spatialRepresentationType); spatialRepresentationType = newValue; }
/** * Sets the description of the content of the result coverage, i.e. semantic definition * of the data quality measures. * * @param newValue the new content description value. */ public void setResultContentDescription(final CoverageDescription newValue) { checkWritePermission(resultContentDescription); resultContentDescription = newValue; }