|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
DefaultDistributor
@ThreadSafe public class DefaultDistributor
Information about 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 | |
|---|---|
DefaultDistributor()
Constructs an initially empty distributor. |
|
DefaultDistributor(Distributor source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
DefaultDistributor(ResponsibleParty distributorContact)
Creates a distributor with the specified contact. |
|
| Method Summary | |
|---|---|
static DefaultDistributor |
castOrCopy(Distributor object)
Returns a Geotk metadata implementation with the same values than 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. |
| 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 DefaultDistributor()
public DefaultDistributor(Distributor source)
source - The metadata to copy, or null if none.public DefaultDistributor(ResponsibleParty distributorContact)
distributorContact - Party from whom the resource may be obtained,
or null if none.| Method Detail |
|---|
public static DefaultDistributor castOrCopy(Distributor 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 ResponsibleParty getDistributorContact()
getDistributorContact in interface Distributorpublic void setDistributorContact(ResponsibleParty newValue)
newValue - The new distributor contact.public Collection<StandardOrderProcess> getDistributionOrderProcesses()
getDistributionOrderProcesses in interface Distributorpublic void setDistributionOrderProcesses(Collection<? extends StandardOrderProcess> newValues)
newValues - The new distribution order processes.public Collection<Format> getDistributorFormats()
getDistributorFormats in interface Distributorpublic void setDistributorFormats(Collection<? extends Format> newValues)
newValues - The new distributor formats.public Collection<DigitalTransferOptions> getDistributorTransferOptions()
getDistributorTransferOptions in interface Distributorpublic void setDistributorTransferOptions(Collection<? extends DigitalTransferOptions> newValues)
newValues - The new distributor transfer options.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||