org.geotools.metadata.iso.distribution
Class DistributorImpl

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

public class DistributorImpl
extends MetadataEntity
implements org.opengis.metadata.distribution.Distributor

Information about the distributor.

Since:
2.1
Version:
$Id: DistributorImpl.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
DistributorImpl()
          Constructs an initially empty distributor.
DistributorImpl(org.opengis.metadata.citation.ResponsibleParty distributorContact)
          Creates a distributor with the specified contact.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this Distributor with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 java.util.Collection getDistributionOrderProcesses()
          Provides information about how the resource may be obtained, and related instructions and fee information.
 org.opengis.metadata.citation.ResponsibleParty getDistributorContact()
          Party from whom the resource may be obtained.
 java.util.Collection getDistributorFormats()
          Provides information about the format used by the distributor.
 java.util.Collection getDistributorTransferOptions()
          Provides information about the technical means and media used by the distributor.
 int hashCode()
          Returns a hash code value for this series.
 void setDistributionOrderProcesses(java.util.Collection newValues)
          Set information about how the resource may be obtained, and related instructions and fee information.
 void setDistributorContact(org.opengis.metadata.citation.ResponsibleParty newValue)
          Set the party from whom the resource may be obtained.
 void setDistributorFormats(java.util.Collection newValues)
          Set information about the format used by the distributor.
 void setDistributorTransferOptions(java.util.Collection newValues)
          Provides information about the technical means and media used by 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

DistributorImpl

public DistributorImpl()
Constructs an initially empty distributor.


DistributorImpl

public DistributorImpl(org.opengis.metadata.citation.ResponsibleParty distributorContact)
Creates a distributor with the specified contact.

Method Detail

getDistributorContact

public org.opengis.metadata.citation.ResponsibleParty getDistributorContact()
Party from whom the resource may be obtained. This list need not be exhaustive.

Specified by:
getDistributorContact in interface org.opengis.metadata.distribution.Distributor

setDistributorContact

public void setDistributorContact(org.opengis.metadata.citation.ResponsibleParty newValue)
Set the party from whom the resource may be obtained. This list need not be exhaustive.


getDistributionOrderProcesses

public java.util.Collection getDistributionOrderProcesses()
Provides information about how the resource may be obtained, and related instructions and fee information.

Specified by:
getDistributionOrderProcesses in interface org.opengis.metadata.distribution.Distributor

setDistributionOrderProcesses

public void setDistributionOrderProcesses(java.util.Collection newValues)
Set information about how the resource may be obtained, and related instructions and fee information.


getDistributorFormats

public java.util.Collection getDistributorFormats()
Provides information about the format used by the distributor.

Specified by:
getDistributorFormats in interface org.opengis.metadata.distribution.Distributor

setDistributorFormats

public void setDistributorFormats(java.util.Collection newValues)
Set information about the format used by the distributor.


getDistributorTransferOptions

public java.util.Collection getDistributorTransferOptions()
Provides information about the technical means and media used by the distributor.

Specified by:
getDistributorTransferOptions in interface org.opengis.metadata.distribution.Distributor

setDistributorTransferOptions

public void setDistributorTransferOptions(java.util.Collection newValues)
Provides information about the technical means and media used by 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 Distributor 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.