public class DefaultDistribution extends ISOMetadata implements Distribution
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultDistribution()
Constructs an initially empty distribution.
|
DefaultDistribution(Distribution object)
Constructs a new instance initialized with the values from the specified metadata object.
|
Modifier and Type | Method and Description |
---|---|
static DefaultDistribution |
castOrCopy(Distribution object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getDescription()
Returns a brief description of a set of distribution options.
|
Collection<Format> |
getDistributionFormats()
Provides a description of the format of the data to be distributed.
|
Collection<Distributor> |
getDistributors()
Provides information about the distributor.
|
Collection<DigitalTransferOptions> |
getTransferOptions()
Provides information about technical means and media by which a resource is obtained from the distributor.
|
void |
setDescription(InternationalString newValue)
Sets a brief description of a set of distribution options.
|
void |
setDistributionFormats(Collection<? extends Format> newValues)
Sets a description of the format of the data to be distributed.
|
void |
setDistributors(Collection<? extends Distributor> newValues)
Sets information about the distributor.
|
void |
setTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
Sets information about technical means and media by which a resource is obtained
from the distributor.
|
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 DefaultDistribution()
public DefaultDistribution(Distribution object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Distribution)
public static DefaultDistribution castOrCopy(Distribution object)
null
, then this method returns null
.DefaultDistribution
, then it is returned unchanged.DefaultDistribution
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 getDescription()
public void setDescription(InternationalString newValue)
newValue
- The new description.public Collection<Format> getDistributionFormats()
getDistributionFormats
in interface Distribution
public void setDistributionFormats(Collection<? extends Format> newValues)
newValues
- The new distribution formats.public Collection<Distributor> getDistributors()
getDistributors
in interface Distribution
public void setDistributors(Collection<? extends Distributor> newValues)
newValues
- The new distributors.public Collection<DigitalTransferOptions> getTransferOptions()
getTransferOptions
in interface Distribution
public void setTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
newValues
- The new transfer options.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.