Class DefaultDistributor
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultDistributor
- All Implemented Interfaces:
- Serializable,- Emptiable,- LenientComparable,- IdentifiedObject,- Distributor
Information about the distributor.
 The following properties are mandatory or conditional (i.e. mandatory under some circumstances)
 in a well-formed metadata according ISO 19115:
 
 
MD_Distributor
   ├─distributorContact……………………………………… Party from whom the resource may be obtained. This list need not be exhaustive.
   │   ├─party……………………………………………………………… Information about the parties.
   │   │   └─name……………………………………………………… Name of the party.
   │   └─role………………………………………………………………… Function performed by the responsible party.
   └─distributorFormat………………………………………… Information about the format used by the distributor.
       └─formatSpecificationCitation…… Citation/URL of the specification format.
           ├─title…………………………………………………… Name by which the cited resource is known.
           └─date……………………………………………………… Reference date for the cited resource.Limitations
- Instances of this class are not synchronized for multi-threading. Synchronization, if needed, is caller's responsibility.
- Serialized objects of this class are not guaranteed to be compatible with future Apache SIS releases.
       Serialization support is appropriate for short term storage or RMI between applications running the
       same version of Apache SIS. For long term storage, use XMLinstead.
- Since:
- 0.3
- See Also:
Defined in the sis-metadata module
- 
Nested Class SummaryNested classes/interfaces inherited from class ModifiableMetadataModifiableMetadata.State
- 
Field SummaryFields inherited from class ISOMetadataidentifiers
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an initially empty distributor.DefaultDistributor(ResponsibleParty distributorContact) Creates a distributor with the specified contact.DefaultDistributor(Distributor object) Constructs a new instance initialized with the values from the specified metadata object.
- 
Method SummaryModifier and TypeMethodDescriptionstatic DefaultDistributorcastOrCopy(Distributor object) Returns a SIS metadata implementation with the values of the given arbitrary implementation.Provides information about how the resource may be obtained, and related instructions and fee information.Party from whom the resource may be obtained.Provides information about the format used by the distributor.Provides information about the technical means and media used by the distributor.voidsetDistributionOrderProcesses(Collection<? extends StandardOrderProcess> newValues) Sets information about how the resource may be obtained, and related instructions and fee information.voidsetDistributorContact(ResponsibleParty newValue) Sets the party from whom the resource may be obtained.voidsetDistributorFormats(Collection<? extends Format> newValues) Sets information about the format used by the distributor.voidsetDistributorTransferOptions(Collection<? extends DigitalTransferOptions> newValues) Provides information about the technical means and media used by the distributor.Methods inherited from class ISOMetadatagetIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadatacheckWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadataasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
- 
Constructor Details- 
DefaultDistributorpublic DefaultDistributor()Constructs an initially empty distributor.
- 
DefaultDistributorCreates a distributor with the specified contact.- Parameters:
- distributorContact- party from whom the resource may be obtained, or- null.
 
- 
DefaultDistributorConstructs a new instance initialized with the values from the specified metadata object. This is a shallow copy constructor, because the other metadata contained in the given object are not recursively copied.- Parameters:
- object- the metadata to copy values from, or- nullif none.
- See Also:
 
 
- 
- 
Method Details- 
castOrCopyReturns a SIS metadata implementation with the values of the given arbitrary implementation. This method performs the first applicable action in the following choices:- If the given object is null, then this method returnsnull.
- Otherwise if the given object is already an instance of
       DefaultDistributor, then it is returned unchanged.
- Otherwise a new DefaultDistributorinstance is created using the copy constructor and returned. Note that this is a shallow copy operation, because the other metadata contained in the given object are not recursively copied.
 - Parameters:
- object- the object to get as a SIS implementation, or- nullif none.
- Returns:
- a SIS implementation containing the values of the given object (may be the
         given object itself), or nullif the argument was null.
 
- If the given object is 
- 
getDistributorContactParty from whom the resource may be obtained.Upcoming API change — generalization
 As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change may be applied in GeoAPI 4.0.- Specified by:
- getDistributorContactin interface- Distributor
- Returns:
- party from whom the resource may be obtained, or null.
 
- 
setDistributorContactSets the party from whom the resource may be obtained.Upcoming API change — generalization
 As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change may be applied in GeoAPI 4.0.- Parameters:
- newValue- the new distributor contact.
 
- 
getDistributionOrderProcessesProvides information about how the resource may be obtained, and related instructions and fee information.- Specified by:
- getDistributionOrderProcessesin interface- Distributor
- Returns:
- information about how the resource may be obtained.
 
- 
setDistributionOrderProcessesSets information about how the resource may be obtained, and related instructions and fee information.- Parameters:
- newValues- the new distribution order processes.
 
- 
getDistributorFormatsProvides information about the format used by the distributor.- Specified by:
- getDistributorFormatsin interface- Distributor
- Returns:
- information about the format used by the distributor.
 
- 
setDistributorFormatsSets information about the format used by the distributor.- Parameters:
- newValues- the new distributor formats.
 
- 
getDistributorTransferOptionsProvides information about the technical means and media used by the distributor.- Specified by:
- getDistributorTransferOptionsin interface- Distributor
- Returns:
- information about the technical means and media used by the distributor.
 
- 
setDistributorTransferOptionsProvides information about the technical means and media used by the distributor.- Parameters:
- newValues- the new distributor transfer options.
 
 
-