Class DistributionImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, Distribution

    public class DistributionImpl
    extends MetadataEntity
    implements Distribution
    Information about the distributor of and options for obtaining the resource.
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD), Touraïvane
    See Also:
    Serialized Form
    • Constructor Detail

      • DistributionImpl

        public DistributionImpl()
        Constructs an initially empty distribution.
      • DistributionImpl

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

      • getDistributionFormats

        public Collection<Format> getDistributionFormats()
        Provides a description of the format of the data to be distributed.
        Specified by:
        getDistributionFormats in interface Distribution
        Returns:
        Description of the format of the data to be distributed.
      • setDistributionFormats

        public void setDistributionFormats​(Collection<? extends Format> newValues)
        Set a description of the format of the data to be distributed.
      • getDistributors

        public Collection<Distributor> getDistributors()
        Provides information about the distributor.
        Specified by:
        getDistributors in interface Distribution
        Returns:
        Information about the distributor.
      • setDistributors

        public void setDistributors​(Collection<? extends Distributor> newValues)
        Set information about the distributor.
      • getTransferOptions

        public Collection<DigitalTransferOptions> getTransferOptions()
        Provides information about technical means and media by which a resource is obtained from the distributor.
        Specified by:
        getTransferOptions in interface Distribution
        Returns:
        Technical means and media by which a resource is obtained from the distributor.
      • setTransferOptions

        public void setTransferOptions​(Collection<? extends DigitalTransferOptions> newValues)
        Set information about technical means and media by which a resource is obtained from the distributor.