public class DefaultDistributor extends ISOMetadata implements Distributor
Defined in the sis-metadata module
identifiers, LOGGER
Constructor and Description |
---|
DefaultDistributor()
Constructs an initially empty distributor.
|
DefaultDistributor(Distributor object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultDistributor(ResponsibleParty distributorContact)
Creates a distributor with the specified contact.
|
Modifier and Type | Method and Description |
---|---|
static DefaultDistributor |
castOrCopy(Distributor object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<StandardOrderProcess> |
getDistributionOrderProcesses()
Provides information about how the resource may be obtained,
and related instructions and fee information.
|
ResponsibleParty |
getDistributorContact()
Party from whom the resource may be obtained.
|
Collection<Format> |
getDistributorFormats()
Provides information about the format used by the distributor.
|
Collection<DigitalTransferOptions> |
getDistributorTransferOptions()
Provides information about the technical means and media used by the distributor.
|
void |
setDistributionOrderProcesses(Collection<? extends StandardOrderProcess> newValues)
Sets information about how the resource may be obtained,
and related instructions and fee information.
|
void |
setDistributorContact(ResponsibleParty newValue)
Sets the party from whom the resource may be obtained.
|
void |
setDistributorFormats(Collection<? extends Format> newValues)
Sets information about the format used by the distributor.
|
void |
setDistributorTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
Provides information about the technical means and media used by 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 DefaultDistributor()
public DefaultDistributor(ResponsibleParty distributorContact)
distributorContact
- Party from whom the resource may be obtained, or null
.public DefaultDistributor(Distributor object)
object
- The metadata to copy values from, or null
if none.castOrCopy(Distributor)
public static DefaultDistributor castOrCopy(Distributor object)
null
, then this method returns null
.DefaultDistributor
, then it is returned unchanged.DefaultDistributor
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 ResponsibleParty getDistributorContact()
getDistributorContact
in interface Distributor
null
.public void setDistributorContact(ResponsibleParty newValue)
newValue
- The new distributor contact.public Collection<StandardOrderProcess> getDistributionOrderProcesses()
getDistributionOrderProcesses
in interface Distributor
public void setDistributionOrderProcesses(Collection<? extends StandardOrderProcess> newValues)
newValues
- The new distribution order processes.public Collection<Format> getDistributorFormats()
getDistributorFormats
in interface Distributor
public void setDistributorFormats(Collection<? extends Format> newValues)
newValues
- The new distributor formats.public Collection<DigitalTransferOptions> getDistributorTransferOptions()
getDistributorTransferOptions
in interface Distributor
public void setDistributorTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
newValues
- The new distributor transfer options.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.