org.geotools.metadata.iso.distribution
Class DistributionImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by 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
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
DistributionImpl()
          Constructs an initially empty distribution.
DistributionImpl(Distribution source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Collection<Format> getDistributionFormats()
          Provides a description of the format of the data to be distributed.
 Collection<Distributor> getDistributors()
          Provides information about the distributor.
 Collection<DigitalTransferOptions> getTransferOptions()
          Provides information about technical means and media by which a resource is obtained from the distributor.
 void setDistributionFormats(Collection<? extends Format> newValues)
          Set a description of the format of the data to be distributed.
 void setDistributors(Collection<? extends Distributor> newValues)
          Set information about the distributor.
 void setTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
          Set information about technical means and media by which a resource is obtained from the distributor.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

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

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

setTransferOptions

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



Copyright © 1996-2010 Geotools. All Rights Reserved.