|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultDigitalTransferOptions
@ThreadSafe public class DefaultDigitalTransferOptions
Technical means and media by which a resource is obtained from the distributor.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultDigitalTransferOptions()
Constructs an initially empty digital transfer options. |
|
DefaultDigitalTransferOptions(DigitalTransferOptions source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultDigitalTransferOptions |
castOrCopy(DigitalTransferOptions object)
Returns a Geotk metadata implementation with the same values than 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., in which data is available. |
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., in which data is available. |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDigitalTransferOptions()
public DefaultDigitalTransferOptions(DigitalTransferOptions source)
source - The metadata to copy, or null if none.| Method Detail |
|---|
public static DefaultDigitalTransferOptions castOrCopy(DigitalTransferOptions object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public InternationalString getUnitsOfDistribution()
getUnitsOfDistribution in interface DigitalTransferOptionspublic void setUnitsOfDistribution(InternationalString newValue)
newValue - The new units of distribution.@ValueRange(minimum=0.0) public Double getTransferSize()
null if the transfer size is unknown.
getTransferSize in interface DigitalTransferOptionspublic void setTransferSize(Double newValue)
newValue - The new transfer size.public Collection<OnlineResource> getOnLines()
getOnLines in interface DigitalTransferOptionspublic void setOnLines(Collection<? extends OnlineResource> newValues)
newValues - The new online sources.public Medium getOffLine()
getOffLine in interface DigitalTransferOptionspublic void setOffLine(Medium newValue)
newValue - The new offline media.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||