org.geotools.metadata.iso.distribution
Class DigitalTransferOptionsImpl

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

public class DigitalTransferOptionsImpl
extends MetadataEntity
implements org.opengis.metadata.distribution.DigitalTransferOptions

Technical means and media by which a resource is obtained from the distributor.

Since:
2.1
Version:
$Id: DigitalTransferOptionsImpl.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
DigitalTransferOptionsImpl()
          Constructs an initially empty digital transfer options.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this digital transfer options with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.metadata.distribution.Medium getOffLine()
          Returns information about offline media on which the resource can be obtained.
 java.util.Collection getOnLines()
          Returns information about online sources from which the resource can be obtained.
 java.lang.Number getTransferSize()
          Returns an estimated size of a unit in the specified transfer format, expressed in megabytes.
 org.opengis.util.InternationalString getUnitsOfDistribution()
          Returne tiles, layers, geographic areas, etc., in which data is available.
 int hashCode()
          Returns a hash code value for this digital transfer options.
 void setOffLine(org.opengis.metadata.distribution.Medium newValue)
          Set information about offline media on which the resource can be obtained.
 void setOnLines(java.util.Collection newValues)
          Set information about online sources from which the resource can be obtained.
 void setTransferSize(java.lang.Number newValue)
          Set an estimated size of a unit in the specified transfer format, expressed in megabytes.
 void setUnitsOfDistribution(org.opengis.util.InternationalString newValue)
          Set tiles, layers, geographic areas, etc., in which data is available.
 java.lang.String toString()
          Returns a string representation of this digital transfer options.
 
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

DigitalTransferOptionsImpl

public DigitalTransferOptionsImpl()
Constructs an initially empty digital transfer options.

Method Detail

getUnitsOfDistribution

public org.opengis.util.InternationalString getUnitsOfDistribution()
Returne tiles, layers, geographic areas, etc., in which data is available.

Specified by:
getUnitsOfDistribution in interface org.opengis.metadata.distribution.DigitalTransferOptions

setUnitsOfDistribution

public void setUnitsOfDistribution(org.opengis.util.InternationalString newValue)
Set tiles, layers, geographic areas, etc., in which data is available.


getTransferSize

public java.lang.Number getTransferSize()
Returns an estimated size of a unit in the specified transfer format, expressed in megabytes. The transfer size is > 0.0. Returns if the transfer size is unknown.

Specified by:
getTransferSize in interface org.opengis.metadata.distribution.DigitalTransferOptions

setTransferSize

public void setTransferSize(java.lang.Number newValue)
Set an estimated size of a unit in the specified transfer format, expressed in megabytes. The transfer size is > 0.0.


getOnLines

public java.util.Collection getOnLines()
Returns information about online sources from which the resource can be obtained.

Specified by:
getOnLines in interface org.opengis.metadata.distribution.DigitalTransferOptions

setOnLines

public void setOnLines(java.util.Collection newValues)
Set information about online sources from which the resource can be obtained.


getOffLine

public org.opengis.metadata.distribution.Medium getOffLine()
Returns information about offline media on which the resource can be obtained.

Specified by:
getOffLine in interface org.opengis.metadata.distribution.DigitalTransferOptions

setOffLine

public void setOffLine(org.opengis.metadata.distribution.Medium newValue)
Set information about offline media on which the resource can be obtained.


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 digital transfer options with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this digital transfer options.


toString

public java.lang.String toString()
Returns a string representation of this digital transfer options.

To Do:
Provides a more elaborated implementation.


Copyright © GeoTools. All Rights Reserved.