org.geotools.metadata.iso.distribution
Class DigitalTransferOptionsImpl

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.DigitalTransferOptionsImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.distribution.DigitalTransferOptions

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 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
DigitalTransferOptionsImpl()
          Constructs an initially empty digital transfer options.
DigitalTransferOptionsImpl(org.opengis.metadata.distribution.DigitalTransferOptions source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 org.opengis.metadata.distribution.Medium getOffLine()
          Returns information about offline media on which the resource can be obtained.
 java.util.Collection<org.opengis.metadata.citation.OnLineResource> getOnLines()
          Returns information about online sources from which the resource can be obtained.
 java.lang.Double 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.
 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<? extends org.opengis.metadata.citation.OnLineResource> newValues)
          Set information about online sources from which the resource can be obtained.
 void setTransferSize(java.lang.Double 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.
 
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

DigitalTransferOptionsImpl

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


DigitalTransferOptionsImpl

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

Since:
2.4
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.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 org.opengis.metadata.distribution.DigitalTransferOptions

setTransferSize

public void setTransferSize(java.lang.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 java.util.Collection<org.opengis.metadata.citation.OnLineResource> 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<? extends org.opengis.metadata.citation.OnLineResource> 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.



Copyright © 1996-2010 Geotools. All Rights Reserved.