|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultDistribution
@ThreadSafe public class DefaultDistribution
Information about the distributor of and options for obtaining the resource.
| 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 | |
|---|---|
DefaultDistribution()
Constructs an initially empty distribution. |
|
DefaultDistribution(Distribution source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultDistribution |
castOrCopy(Distribution object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
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 |
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. |
| 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 DefaultDistribution()
public DefaultDistribution(Distribution source)
source - The metadata to copy, or null if none.| Method Detail |
|---|
public static DefaultDistribution castOrCopy(Distribution 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 Collection<Format> getDistributionFormats()
getDistributionFormats in interface Distributionpublic void setDistributionFormats(Collection<? extends Format> newValues)
newValues - The new distribution formats.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||