public class DefaultDigitalTransferOptions extends ISOMetadata implements DigitalTransferOptions
Limitations:
XML instead.Defined in the sis-metadata module
identifiers| 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.
|
Collection<Format> |
getDistributionFormats()
Returns the formats of distribution.
|
Medium |
getOffLine()
Deprecated.
As of ISO 19115:2014, replaced by
getOffLines(). |
Collection<Medium> |
getOffLines()
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.
|
PeriodDuration |
getTransferFrequency()
Returns the rate of occurrence of distribution.
|
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 |
setDistributionFormats(Collection<? extends Format> newValues)
Sets the formats of distribution.
|
void |
setOffLine(Medium newValue)
Deprecated.
As of ISO 19115:2014, replaced by
setOffLines(Collection). |
void |
setOffLines(Collection<? extends Medium> newValues)
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 |
setTransferFrequency(PeriodDuration newValue)
Sets the rate of occurrence of distribution.
|
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.
|
freeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic 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 DigitalTransferOptionsnull.public void setUnitsOfDistribution(InternationalString newValue)
newValue - the new units of distribution.@ValueRange(minimum=0.0, isMinIncluded=false) public Double getTransferSize()
getTransferSize in interface DigitalTransferOptionsnull.public void setTransferSize(Double newValue)
newValue - the new transfer size, or null.IllegalArgumentException - if the given value is NaN or negative.public Collection<OnlineResource> getOnLines()
getOnLines in interface DigitalTransferOptionspublic void setOnLines(Collection<? extends OnlineResource> newValues)
newValues - the new online sources.@UML(identifier="offLine", obligation=OPTIONAL, specification=ISO_19115) public Collection<Medium> getOffLines()
public void setOffLines(Collection<? extends Medium> newValues)
newValues - the new offline media.@Deprecated public Medium getOffLine()
getOffLines().getOffLine in interface DigitalTransferOptionsnull.@Deprecated public void setOffLine(Medium newValue)
setOffLines(Collection).newValue - the new offline media.@UML(identifier="transferFrequency", obligation=OPTIONAL, specification=ISO_19115) public PeriodDuration getTransferFrequency()
null if none.public void setTransferFrequency(PeriodDuration newValue)
newValue - the new rate of occurrence of distribution.@UML(identifier="distributionFormat", obligation=OPTIONAL, specification=ISO_19115) public Collection<Format> getDistributionFormats()
public void setDistributionFormats(Collection<? extends Format> newValues)
newValues - the new formats of distribution.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.