/** * Sets information about offline media on which the resource can be obtained. * * @param newValues the new offline media. * * @since 0.5 */ public void setOffLines(final Collection<? extends Medium> newValues) { offLines = writeCollection(newValues, offLines, Medium.class); }
/** * Sets a description of the format of the data to be distributed. * * @param newValues the new distribution formats. * * @see org.apache.sis.metadata.iso.identification.AbstractIdentification#setResourceFormats(Collection) */ public void setDistributionFormats(final Collection<? extends Format> newValues) { distributionFormats = writeCollection(newValues, distributionFormats, Format.class); }
/** * Sets tiles, layers, geographic areas, <i>etc.</i>, in which data is available. * * @param newValue the new units of distribution. */ public void setUnitsOfDistribution(final InternationalString newValue) { checkWritePermission(); unitsOfDistribution = newValue; }
/** * Creates the distribution format object if it does not already exists, then returns it. * * @return the distribution format (never {@code null}). */ private DefaultFormat format() { DefaultFormat df = DefaultFormat.castOrCopy(format); if (df == null) { format = df = new DefaultFormat(); } return df; }
/** * Creates the distribution information object if it does not already exists, then returns it. * * @return the distribution information (never {@code null}). * @see #newDistribution() */ private DefaultDistribution distribution() { if (distribution == null) { distribution = new DefaultDistribution(); } return distribution; }
/** * Sets the format of the transfer data file. * * @param newValue the new file format value. */ public void setFileFormat(final Format newValue) { checkWritePermission(); fileFormat = newValue; } }
/** * Sets information about how the resource may be obtained, * and related instructions and fee information. * * @param newValues the new distribution order processes. */ public void setDistributionOrderProcesses(final Collection<? extends StandardOrderProcess> newValues) { distributionOrderProcesses = writeCollection(newValues, distributionOrderProcesses, StandardOrderProcess.class); }
/** * Sets general instructions, terms and services provided by the distributor. * * @param newValue the new ordering instructions. */ public void setOrderingInstructions(final InternationalString newValue) { checkWritePermission(orderingInstructions); orderingInstructions = newValue; }
/** * Sets the list of feature types concerned by the transfer data file. * * @param newValues the new feature type values. */ public void setFeatureTypes(final Collection<? extends LocalName> newValues) { featureTypes = writeCollection(newValues, featureTypes, LocalName.class); }
/** * Sets information about the distributor's format. * * @param newValues the new format distributors. */ public void setFormatDistributors(final Collection<? extends Distributor> newValues) { formatDistributors = writeCollection(newValues, formatDistributors, Distributor.class); } }
/** * Sets the method used to write to the medium. * * @param newValues the new medium formats. */ public void setMediumFormats(final Collection<? extends MediumFormat> newValues) { mediumFormats = writeCollection(newValues, mediumFormats, MediumFormat.class); }
/** * Sets a brief description of a set of distribution options. * * @param newValue the new description. * * @since 0.5 */ public void setDescription(final InternationalString newValue) { checkWritePermission(); description = newValue; }
/** * Sets the name of the medium on which the resource can be received. * * @param newValue the new name. */ public void setName(final MediumName newValue) { checkWritePermission(name); name = newValue; }
/** * Sets information about online sources from which the resource can be obtained. * * @param newValues the new online sources. */ public void setOnLines(final Collection<? extends OnlineResource> newValues) { onLines = writeCollection(newValues, onLines, OnlineResource.class); }
/** * Sets information about the distributor. * * @param newValues the new distributors. */ public void setDistributors(final Collection<? extends Distributor> newValues) { distributors = writeCollection(newValues, distributors, Distributor.class); }
/** * Sets the format in which the illustration is encoded. * Raster formats are encouraged to use one of the names returned by * {@link javax.imageio.ImageIO#getReaderFormatNames()}. * * @param newValue the new file type. */ public void setFileType(final String newValue) { checkWritePermission(fileType); fileType = newValue; }
/** * Sets information about the format used by the distributor. * * @param newValues the new distributor formats. */ public void setDistributorFormats(final Collection<? extends Format> newValues) { distributorFormats = writeCollection(newValues, distributorFormats, Format.class); }
/** * Sets typical turnaround time for the filling of an order. * * @param newValue the new turnaround. */ public void setTurnaround(final InternationalString newValue) { checkWritePermission(turnaround); turnaround = newValue; }
/** * Sets the formats of distribution. * * @param newValues the new formats of distribution. * * @since 0.5 */ public void setDistributionFormats(final Collection<? extends Format> newValues) { distributionFormats = writeCollection(newValues, distributionFormats, Format.class); } }
/** * Sets information about technical means and media by which a resource is obtained * from the distributor. * * @param newValues the new transfer options. */ public void setTransferOptions(final Collection<? extends DigitalTransferOptions> newValues) { transferOptions = writeCollection(newValues, transferOptions, DigitalTransferOptions.class); } }