@TitleProperty(name="description") public class DefaultDistribution extends ISOMetadata implements Distribution
MD_Distribution
└─distributionFormat……………………………………… Description of the format of the data to be distributed.
└─formatSpecificationCitation…… Citation/URL of the specification format.
├─title…………………………………………………… Name by which the cited resource is known.
└─date……………………………………………………… Reference date for the cited resource.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| 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.
|
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 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.@UML(identifier="description", obligation=OPTIONAL, specification=ISO_19115) public InternationalString getDescription()
public void setDescription(InternationalString newValue)
newValue - the new description.public Collection<Format> getDistributionFormats()
getDistributionFormats in interface DistributionAbstractIdentification.getResourceFormats()public void setDistributionFormats(Collection<? extends Format> newValues)
newValues - the new distribution formats.AbstractIdentification.setResourceFormats(Collection)public Collection<Distributor> getDistributors()
getDistributors in interface Distributionpublic void setDistributors(Collection<? extends Distributor> newValues)
newValues - the new distributors.public Collection<DigitalTransferOptions> getTransferOptions()
getTransferOptions in interface Distributionpublic void setTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
newValues - the new transfer options.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.