org.geotools.metadata.iso.distribution
Class DistributionImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.distribution.DistributionImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.distribution.Distribution

public class DistributionImpl
extends MetadataEntity
implements org.opengis.metadata.distribution.Distribution

Information about the distributor of and options for obtaining the resource.

Since:
2.1
Version:
$Id: DistributionImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

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

Constructor Detail

DistributionImpl

public DistributionImpl()
Constructs an initially empty distribution.


DistributionImpl

public DistributionImpl(org.opengis.metadata.distribution.Distribution source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
Method Detail

getDistributionFormats

public java.util.Collection<org.opengis.metadata.distribution.Format> getDistributionFormats()
Provides a description of the format of the data to be distributed.

Specified by:
getDistributionFormats in interface org.opengis.metadata.distribution.Distribution

setDistributionFormats

public void setDistributionFormats(java.util.Collection<? extends org.opengis.metadata.distribution.Format> newValues)
Set a description of the format of the data to be distributed.


getDistributors

public java.util.Collection<org.opengis.metadata.distribution.Distributor> getDistributors()
Provides information about the distributor.

Specified by:
getDistributors in interface org.opengis.metadata.distribution.Distribution

setDistributors

public void setDistributors(java.util.Collection<? extends org.opengis.metadata.distribution.Distributor> newValues)
Set information about the distributor.


getTransferOptions

public java.util.Collection<org.opengis.metadata.distribution.DigitalTransferOptions> getTransferOptions()
Provides information about technical means and media by which a resource is obtained from the distributor.

Specified by:
getTransferOptions in interface org.opengis.metadata.distribution.Distribution

setTransferOptions

public void setTransferOptions(java.util.Collection<? extends org.opengis.metadata.distribution.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.