public class DefaultDigitalTransferOptions extends ISOMetadata implements DigitalTransferOptions
Defined in the sis-metadata module
identifiers, LOGGER
Constructor and Description |
---|
DefaultDigitalTransferOptions()
Constructs an initially empty digital transfer options.
|
DefaultDigitalTransferOptions(DigitalTransferOptions object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultDigitalTransferOptions |
castOrCopy(DigitalTransferOptions object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
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()
Returns tiles, layers, geographic areas, etc.
|
void |
setOffLine(Medium newValue)
Sets information about offline media on which the resource can be obtained.
|
void |
setOnLines(Collection<? extends OnlineResource> newValues)
Sets information about online sources from which the resource can be obtained.
|
void |
setTransferSize(Double newValue)
Sets an estimated size of a unit in the specified transfer format, expressed in megabytes.
|
void |
setUnitsOfDistribution(InternationalString newValue)
Sets tiles, layers, geographic areas, etc.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultDigitalTransferOptions()
public DefaultDigitalTransferOptions(DigitalTransferOptions object)
object
- The metadata to copy values from, or null
if none.castOrCopy(DigitalTransferOptions)
public static DefaultDigitalTransferOptions castOrCopy(DigitalTransferOptions object)
null
, then this method returns null
.DefaultDigitalTransferOptions
, then it is returned unchanged.DefaultDigitalTransferOptions
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public InternationalString getUnitsOfDistribution()
getUnitsOfDistribution
in interface DigitalTransferOptions
null
.public void setUnitsOfDistribution(InternationalString newValue)
newValue
- The new units of distribution.@ValueRange(minimum=0.0, isMinIncluded=false) public Double getTransferSize()
getTransferSize
in interface DigitalTransferOptions
null
.public void setTransferSize(Double newValue)
newValue
- The new transfer size.public Collection<OnlineResource> getOnLines()
getOnLines
in interface DigitalTransferOptions
public void setOnLines(Collection<? extends OnlineResource> newValues)
newValues
- The new online sources.public Medium getOffLine()
getOffLine
in interface DigitalTransferOptions
null
.public void setOffLine(Medium newValue)
newValue
- The new offline media.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.