org.geotools.metadata.iso.distribution
Class DigitalTransferOptionsImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DigitalTransferOptionsImpl
All Implemented Interfaces:
Serializable, Cloneable, DigitalTransferOptions

public class DigitalTransferOptionsImpl
extends MetadataEntity
implements DigitalTransferOptions

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

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
DigitalTransferOptionsImpl()
          Constructs an initially empty digital transfer options.
DigitalTransferOptionsImpl(DigitalTransferOptions source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 Medium getOffLine()
          Returns information about offline media on which the resource can be obtained.
 Collection<OnLineResource> getOnLines()
          Returns information about online sources from which the resource can be obtained.
 Double getTransferSize()
          Returns an estimated size of a unit in the specified transfer format, expressed in megabytes.
 InternationalString getUnitsOfDistribution()
          Returne tiles, layers, geographic areas, etc., in which data is available.
 void setOffLine(Medium newValue)
          Set information about offline media on which the resource can be obtained.
 void setOnLines(Collection<? extends OnLineResource> newValues)
          Set information about online sources from which the resource can be obtained.
 void setTransferSize(Double newValue)
          Set an estimated size of a unit in the specified transfer format, expressed in megabytes.
 void setUnitsOfDistribution(InternationalString newValue)
          Set tiles, layers, geographic areas, etc., in which data is available.
 
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

DigitalTransferOptionsImpl

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


DigitalTransferOptionsImpl

public DigitalTransferOptionsImpl(DigitalTransferOptions source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4
Method Detail

getUnitsOfDistribution

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

Specified by:
getUnitsOfDistribution in interface DigitalTransferOptions

setUnitsOfDistribution

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


getTransferSize

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

Specified by:
getTransferSize in interface DigitalTransferOptions

setTransferSize

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


getOnLines

public Collection<OnLineResource> getOnLines()
Returns information about online sources from which the resource can be obtained.

Specified by:
getOnLines in interface DigitalTransferOptions

setOnLines

public void setOnLines(Collection<? extends OnLineResource> newValues)
Set information about online sources from which the resource can be obtained.


getOffLine

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

Specified by:
getOffLine in interface DigitalTransferOptions

setOffLine

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



Copyright © 1996-2010 Geotools. All Rights Reserved.