org.geotools.metadata.iso.distribution
Class DistributionImpl

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

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 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
DistributionImpl()
          Constructs an initially empty distribution.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this Distribution with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.Collection getDistributionFormats()
          Provides a description of the format of the data to be distributed.
 java.util.Collection getDistributors()
          Provides information about the distributor.
 java.util.Collection getTransferOptions()
          Provides information about technical means and media by which a resource is obtained from the distributor.
 int hashCode()
          Returns a hash code value for this series.
 void setDistributionFormats(java.util.Collection newValues)
          Set a description of the format of the data to be distributed.
 void setDistributors(java.util.Collection newValues)
          Set information about the distributor.
 void setTransferOptions(java.util.Collection newValues)
          Set information about technical means and media by which a resource is obtained from the distributor.
 java.lang.String toString()
          Returns a string representation of this series.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributionImpl

public DistributionImpl()
Constructs an initially empty distribution.

Method Detail

getDistributionFormats

public java.util.Collection 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 newValues)
Set a description of the format of the data to be distributed.


getDistributors

public java.util.Collection getDistributors()
Provides information about the distributor.

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

setDistributors

public void setDistributors(java.util.Collection newValues)
Set information about the distributor.


getTransferOptions

public java.util.Collection 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 newValues)
Set information about technical means and media by which a resource is obtained from the distributor.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compare this Distribution with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this series.


toString

public java.lang.String toString()
Returns a string representation of this series.

To Do:
Provides a more elaborated implementation.


Copyright © GeoTools. All Rights Reserved.