Package org.apache.sis.metadata.iso
Class DefaultMetadata
Object
AbstractMetadata
ModifiableMetadata
ISOMetadata
DefaultMetadata
- All Implemented Interfaces:
Serializable,Emptiable,LenientComparable,IdentifiedObject,Metadata
Root entity which defines metadata about a resource or resources.
The following properties are mandatory or conditional (i.e. mandatory under some circumstances)
in a well-formed metadata according ISO 19115:
MD_Metadata
├─language………………………………………………… Language used for documenting metadata.
├─characterSet……………………………………… Full name of the character coding standard used for the metadata set.
├─contact…………………………………………………… Parties responsible for the metadata information.
│ ├─party……………………………………………… Information about the parties.
│ │ └─name……………………………………… Name of the party.
│ └─role………………………………………………… Function performed by the responsible party.
├─identificationInfo……………………… Basic information about the resource(s) to which the metadata applies.
│ ├─citation……………………………………… Citation data for the resource(s).
│ │ ├─title…………………………………… Name by which the cited resource is known.
│ │ └─date……………………………………… Reference date for the cited resource.
│ ├─abstract……………………………………… Brief narrative summary of the content of the resource(s).
│ ├─extent…………………………………………… Bounding polygon, vertical, and temporal extent of the dataset.
│ │ ├─description…………………… The spatial and temporal extent for the referring object.
│ │ ├─geographicElement…… Geographic component of the extent of the referring object.
│ │ ├─temporalElement………… Temporal component of the extent of the referring object.
│ │ └─verticalElement………… Vertical component of the extent of the referring object.
│ └─topicCategory………………………… Main theme(s) of the dataset.
├─dateInfo………………………………………………… Date(s) associated with the metadata.
├─metadataScope…………………………………… The scope or type of resource for which metadata is provided.
│ └─resourceScope………………………… Resource scope
└─parentMetadata………………………………… Identification of the parent metadata record.
├─title……………………………………………… Name by which the cited resource is known.
└─date………………………………………………… Reference date for the cited resource.Localization
When this object is marshalled as an ISO 19139 compliant XML document, the value given to thesetLanguage(Locale) method will be used for the localization
of InternationalString and CodeList
instances of in this DefaultMetadata object and every children, as required by
INSPIRE rules. If no language were specified, then the default locale will be the one
defined in the XML.LOCALE marshaller property, if any.
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 Summary
Nested classes/interfaces inherited from class ModifiableMetadata
ModifiableMetadata.State -
Field Summary
Fields inherited from class ISOMetadata
identifiers -
Constructor Summary
ConstructorsConstructorDescriptionCreates an initially empty metadata.DefaultMetadata(ResponsibleParty contact, Date dateStamp, Identification identificationInfo) Creates a meta data initialized to the specified values.DefaultMetadata(Metadata object) Constructs a new instance initialized with the values from the specified metadata object. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultMetadatacastOrCopy(Metadata object) Returns a SIS metadata implementation with the values of the given arbitrary implementation.static DefaultMetadataReturns an editable copy of the given metadata.Returns information about the acquisition of the data.Returns reference(s) to alternative metadata or metadata in a non-ISO standard for the same resource.Returns information about the conceptual schema of a dataset.Deprecated.Deprecated.Replaced bygetLocalesAndCharsets().values().Returns the parties responsible for the metadata information.Returns information about the feature catalogue and describes the coverage and image data characteristics.Returns overall assessment of quality of a resource(s).Deprecated.As of ISO 19115:2014, replaced bygetIdentificationInfo()followed byAbstractIdentification.getCitation()followed byDefaultCitation.getOnlineResources().Returns the date(s) associated with the metadata.Deprecated.As of ISO 19115:2014, replaced bygetDateInfo().Returns information about the distributor of and options for obtaining the resource(s).Deprecated.As of ISO 19115:2014, replaced bygetMetadataIdentifier()in order to include the codespace attribute.final Collection<String>Deprecated.As of ISO 19115:2014, replaced bygetMetadataScopes()followed byDefaultMetadataScope.getName().final Collection<ScopeCode>Deprecated.As of ISO 19115:2014, replaced bygetMetadataScopes()followed byDefaultMetadataScope.getResourceScope().Returns basic information about the resource(s) to which the metadata applies.Deprecated.Replaced bygetLocalesAndCharsets().keySet().Deprecated.Replaced bygetLocalesAndCharsets().keySet().Deprecated.Replaced bygetLocalesAndCharsets().keySet().Returns the language(s) and character set(s) used for documenting metadata.Returns restrictions on the access and use of metadata.Returns information describing metadata extensions.Returns a unique identifier for this metadata record.Returns the online location(s) where the metadata is available.Returns information about the frequency of metadata updates, and the scope of those updates.Returns the citation(s) for the profile(s) of the metadata standard to which the metadata conform.Returns the scope or type of resource for which metadata is provided.Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.getTitle().Returns the citation(s) for the standard(s) to which the metadata conform.Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.getEdition().Deprecated.As of ISO 19115:2014, replaced bygetParentMetadata().Returns an identification of the parent metadata record.Returns information about the catalogue of rules defined for the portrayal of a resource(s).Returns the description of the spatial and temporal reference systems used in the dataset.Returns information about the provenance, sources and/or the production processes applied to the resource.Returns the digital representation of spatial information in the dataset.voidsetAcquisitionInformation(Collection<? extends AcquisitionInformation> newValues) Sets information about the acquisition of the data.voidsetAlternativeMetadataReferences(Collection<? extends Citation> newValues) Set reference(s) to alternative metadata or metadata in a non-ISO standard for the same resource.voidsetApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues) Returns information about the conceptual schema of a dataset.voidsetCharacterSet(CharacterSet newValue) Deprecated.Replaced bygetLocalesAndCharsets().put(…, newValue).voidsetCharacterSets(Collection<? extends Charset> newValues) Deprecated.Replaced by putting values ingetLocalesAndCharsets()map.voidsetContacts(Collection<? extends ResponsibleParty> newValues) Sets the parties responsible for the metadata information.voidsetContentInfo(Collection<? extends ContentInformation> newValues) Sets information about the feature catalogue and describes the coverage and image data characteristics.voidsetDataQualityInfo(Collection<? extends DataQuality> newValues) Sets overall assessment of quality of a resource(s).voidsetDataSetUri(String newValue) Deprecated.As of ISO 19115:2014, replaced bygetIdentificationInfo()followed byAbstractIdentification.getCitation()followed byDefaultCitation.setOnlineResources(Collection).voidsetDateInfo(Collection<? extends CitationDate> newValues) Sets the date(s) associated with the metadata.voidsetDateStamp(Date newValue) Deprecated.As of ISO 19115:2014, replaced bysetDateInfo(Collection).voidsetDistributionInfo(Distribution newValue) Sets information about the distributor of and options for obtaining the resource(s).voidsetFileIdentifier(String newValue) Deprecated.As of ISO 19115:2014, replaced bysetMetadataIdentifier(Identifier)voidsetHierarchyLevelNames(Collection<? extends String> newValues) Deprecated.As of ISO 19115:2014, replaced bysetMetadataScopes(Collection)andDefaultMetadataScope.setName(InternationalString).voidsetHierarchyLevels(Collection<? extends ScopeCode> newValues) Deprecated.As of ISO 19115:2014, replaced bysetMetadataScopes(Collection)andDefaultMetadataScope.setResourceScope(ScopeCode).voidsetIdentificationInfo(Collection<? extends Identification> newValues) Sets basic information about the resource(s) to which the metadata applies.voidsetLanguage(Locale newValue) Deprecated.Replaced bygetLocalesAndCharsets().put(newValue, …).voidsetLanguages(Collection<Locale> newValues) Deprecated.Replaced by putting keys ingetLocalesAndCharsets()map.voidsetLocales(Collection<? extends Locale> newValues) Deprecated.Replaced by putting keys ingetLocalesAndCharsets().voidsetLocalesAndCharsets(Map<? extends Locale, ? extends Charset> newValues) Sets the language(s) and character set(s) used within the dataset.voidsetMetadataConstraints(Collection<? extends Constraints> newValues) Sets restrictions on the access and use of metadata.voidsetMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues) Sets information describing metadata extensions.voidsetMetadataIdentifier(Identifier newValue) Sets the unique identifier for this metadata record.voidsetMetadataLinkages(Collection<? extends OnlineResource> newValues) Sets the online location(s) where the metadata is available.voidsetMetadataMaintenance(MaintenanceInformation newValue) Sets information about the frequency of metadata updates, and the scope of those updates.voidsetMetadataProfiles(Collection<? extends Citation> newValues) Set the citation(s) for the profile(s) of the metadata standard to which the metadata conform.voidsetMetadataScopes(Collection<? extends DefaultMetadataScope> newValues) Sets the scope or type of resource for which metadata is provided.voidsetMetadataStandardName(String newValue) Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.setTitle(InternationalString).voidsetMetadataStandards(Collection<? extends Citation> newValues) Sets the citation(s) for the standard(s) to which the metadata conform.voidsetMetadataStandardVersion(String newValue) Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.setEdition(InternationalString).voidsetParentIdentifier(String newValue) Deprecated.As of ISO 19115:2014, replaced bygetParentMetadata().voidsetParentMetadata(Citation newValue) Sets an identification of the parent metadata record.voidsetPortrayalCatalogueInfo(Collection<? extends PortrayalCatalogueReference> newValues) Sets information about the catalogue of rules defined for the portrayal of a resource(s).voidsetReferenceSystemInfo(Collection<? extends ReferenceSystem> newValues) Sets the description of the spatial and temporal reference systems used in the dataset.voidsetResourceLineages(Collection<? extends Lineage> newValues) Sets information about the provenance, sources and/or the production processes applied to the resource.voidsetSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues) Sets the digital representation of spatial information in the dataset.Methods inherited from class ISOMetadata
getIdentifier, getIdentifierMap, getIdentifiers, getStandard, setIdentifier, transitionToMethods inherited from class ModifiableMetadata
checkWritePermission, collectionType, copyCollection, copyList, copyMap, copySet, deepCopy, nonNullCollection, nonNullList, nonNullMap, nonNullSet, singleton, state, writeCollection, writeList, writeMap, writeSetMethods inherited from class AbstractMetadata
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
-
Constructor Details
-
DefaultMetadata
public DefaultMetadata()Creates an initially empty metadata. -
DefaultMetadata
Creates a meta data initialized to the specified values.- Parameters:
contact- party responsible for the metadata information.dateStamp- date that the metadata was created.identificationInfo- basic information about the resource to which the metadata applies.
-
DefaultMetadata
Constructs 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, ornullif none.- See Also:
-
-
Method Details
-
castOrCopy
Returns 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
DefaultMetadata, then it is returned unchanged. - Otherwise a new
DefaultMetadatainstance 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.
Use case
This method is useful before XML marshalling or serialization, which may not be supported by all implementations. However, the returned metadata is not guaranteed to be editable. For editable metadata, seedeepCopy(Metadata).- Parameters:
object- the object to get as a SIS implementation, ornullif 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
-
deepCopy
Returns an editable copy of the given metadata. All children are also copied. This method is more expensive thancastOrCopy(Metadata)because the copy is unconditional and much deeper. However, the result is guaranteed to be editable.Use case
Metadata returned byResource.getMetadata()are typically unmodifiable. ThisdeepCopy(…)method is useful for completing those metadata with new elements, for example before insertion in a catalog.- Parameters:
object- the metadata to copy, ornullif none.- Returns:
- a deep copy of the given object, or
nullif the argument was null. - Since:
- 1.1
- See Also:
-
getMetadataIdentifier
@UML(identifier="metadataIdentifier", obligation=OPTIONAL, specification=ISO_19115) public Identifier getMetadataIdentifier()Returns a unique identifier for this metadata record.Note: OGC 07-045 (Catalog Service Specification — ISO metadata application profile) recommends usage of a UUID (Universal Unique Identifier) as specified by IETF to ensure identifier’s uniqueness.- Returns:
- unique identifier for this metadata record, or
null. - Since:
- 0.5
-
setMetadataIdentifier
Sets the unique identifier for this metadata record.- Parameters:
newValue- the new identifier, ornullif none.- Since:
- 0.5
-
getFileIdentifier
Deprecated.As of ISO 19115:2014, replaced bygetMetadataIdentifier()in order to include the codespace attribute.Returns the unique identifier for this metadata file.- Specified by:
getFileIdentifierin interfaceMetadata- Returns:
- unique identifier for this metadata file, or
null.
-
setFileIdentifier
Deprecated.As of ISO 19115:2014, replaced bysetMetadataIdentifier(Identifier)Sets the unique identifier for this metadata file.- Parameters:
newValue- the new identifier, ornullif none.
-
getLocalesAndCharsets
@UML(identifier="defaultLocale+otherLocale", obligation=CONDITIONAL, specification=ISO_19115) public Map<Locale,Charset> getLocalesAndCharsets()Returns the language(s) and character set(s) used for documenting metadata. The first entry in iteration order is the default language and its character set. All other entries, if any, are alternate language(s) and character set(s) used within the resource.Unless another locale has been specified with the
XML.LOCALEproperty, thisDefaultMetadatainstance and its children will use the first locale returned by this method for marshallingInternationalStringandCodeListinstances in ISO 19115-2 compliant XML documents.Each (
Locale,Charset) entry is equivalent to an instance of ISO 19115PT_Localeclass. The language code and the character set are mandatory elements in ISO standard. Consequently, this map should not contain null key or null values, but Apache SIS implementations is tolerant for historical reasons. The same character set may be associated to many languages.- Returns:
- language(s) and character set(s) used for documenting metadata.
- Since:
- 1.0
-
setLocalesAndCharsets
Sets the language(s) and character set(s) used within the dataset. The first element in iteration order should be the default language. All other elements, if any, are alternate language(s) used within the resource.- Parameters:
newValues- the new language(s) and character set(s) used for documenting metadata.- Since:
- 1.0
- See Also:
-
getLanguages
Deprecated.Replaced bygetLocalesAndCharsets().keySet().Returns the language(s) used for documenting metadata. The first element in iteration order is the default language. All other elements, if any, are alternate language(s) used within the resource.- Returns:
- language(s) used for documenting metadata.
- Since:
- 0.5
-
setLanguages
Deprecated.Replaced by putting keys ingetLocalesAndCharsets()map.Sets the language(s) used for documenting metadata. The first element in iteration order shall be the default language. All other elements, if any, are alternate language(s) used within the resource.- Parameters:
newValues- the new languages.- Since:
- 0.5
-
getLanguage
Deprecated.Replaced bygetLocalesAndCharsets().keySet().Returns the default language used for documenting metadata.- Specified by:
getLanguagein interfaceMetadata- Returns:
- language used for documenting metadata, or
null.
-
setLanguage
Deprecated.Replaced bygetLocalesAndCharsets().put(newValue, …).Sets the language used for documenting metadata. This method modifies the collection returned bygetLanguages()as below:- If the languages collection is empty, then this method sets the collection to the given
newValue. - Otherwise the first element in the languages collection is replaced by the given
newValue.
- Parameters:
newValue- the new language.
- If the languages collection is empty, then this method sets the collection to the given
-
getLocales
Deprecated.Replaced bygetLocalesAndCharsets().keySet().Provides information about an alternatively used localized character string for a linguistic extension.- Specified by:
getLocalesin interfaceMetadata- Returns:
- alternatively used localized character string for a linguistic extension.
-
setLocales
Deprecated.Replaced by putting keys ingetLocalesAndCharsets().Sets information about an alternatively used localized character string for a linguistic extension.- Parameters:
newValues- the new locales.
-
getCharacterSets
Deprecated.Replaced bygetLocalesAndCharsets().values().Returns the character coding standard used for the metadata set.- Returns:
- character coding standards used for the metadata.
- Since:
- 0.5
-
setCharacterSets
Deprecated.Replaced by putting values ingetLocalesAndCharsets()map.Sets the character coding standard used for the metadata set.- Parameters:
newValues- the new character coding standards.- Since:
- 0.5
-
getCharacterSet
Deprecated.Replaced bygetLocalesAndCharsets().values().Returns the character coding standard used for the metadata set.- Specified by:
getCharacterSetin interfaceMetadata- Returns:
- character coding standard used for the metadata, or
null.
-
setCharacterSet
Deprecated.Replaced bygetLocalesAndCharsets().put(…, newValue).Sets the character coding standard used for the metadata set.- Parameters:
newValue- the new character set.
-
getParentMetadata
@UML(identifier="parentMetadata", obligation=CONDITIONAL, specification=ISO_19115) public Citation getParentMetadata()Returns an identification of the parent metadata record. This is non-null if this metadata is a subset (child) of another metadata that is described elsewhere.- Returns:
- identification of the parent metadata record, or
nullif none. - Since:
- 0.5
-
setParentMetadata
Sets an identification of the parent metadata record.- Parameters:
newValue- the new identification of the parent metadata record.- Since:
- 0.5
-
getParentIdentifier
Deprecated.As of ISO 19115:2014, replaced bygetParentMetadata().Returns the file identifier of the metadata to which this metadata is a subset (child).- Specified by:
getParentIdentifierin interfaceMetadata- Returns:
- identifier of the metadata to which this metadata is a subset, or
null.
-
setParentIdentifier
Deprecated.As of ISO 19115:2014, replaced bygetParentMetadata().Sets the file identifier of the metadata to which this metadata is a subset (child).- Parameters:
newValue- the new parent identifier.
-
getMetadataScopes
@UML(identifier="metadataScope", obligation=CONDITIONAL, specification=ISO_19115) public Collection<DefaultMetadataScope> getMetadataScopes()Returns the scope or type of resource for which metadata is provided.Upcoming API change — generalization
The element type will be changed to theMetadataScopeinterface when GeoAPI will provide it (tentatively in GeoAPI 3.1).- Returns:
- scope or type of resource for which metadata is provided.
- Since:
- 0.5
-
setMetadataScopes
Sets the scope or type of resource for which metadata is provided.Upcoming API change — generalization
The element type will be changed to theMetadataScopeinterface when GeoAPI will provide it (tentatively in GeoAPI 3.1).- Parameters:
newValues- the new scope or type of resource.- Since:
- 0.5
-
getHierarchyLevels
Deprecated.As of ISO 19115:2014, replaced bygetMetadataScopes()followed byDefaultMetadataScope.getResourceScope().Returns the scope to which the metadata applies.- Specified by:
getHierarchyLevelsin interfaceMetadata- Returns:
- scope to which the metadata applies.
-
setHierarchyLevels
Deprecated.As of ISO 19115:2014, replaced bysetMetadataScopes(Collection)andDefaultMetadataScope.setResourceScope(ScopeCode).Sets the scope to which the metadata applies.- Parameters:
newValues- the new hierarchy levels.
-
getHierarchyLevelNames
Deprecated.As of ISO 19115:2014, replaced bygetMetadataScopes()followed byDefaultMetadataScope.getName().Returns the name of the hierarchy levels for which the metadata is provided.- Specified by:
getHierarchyLevelNamesin interfaceMetadata- Returns:
- hierarchy levels for which the metadata is provided.
-
setHierarchyLevelNames
Deprecated.As of ISO 19115:2014, replaced bysetMetadataScopes(Collection)andDefaultMetadataScope.setName(InternationalString).Sets the name of the hierarchy levels for which the metadata is provided.- Parameters:
newValues- the new hierarchy level names.
-
getContacts
Returns the parties responsible for the metadata information.Upcoming API change — generalization
As of ISO 19115:2014,ResponsiblePartyis replaced by theResponsibilityparent interface. This change will be tentatively applied in GeoAPI 4.0.- Specified by:
getContactsin interfaceMetadata- Returns:
- parties responsible for the metadata information.
-
setContacts
Sets the parties responsible for the metadata information.- Parameters:
newValues- the new contacts.
-
getDateInfo
@UML(identifier="dateInfo", obligation=MANDATORY, specification=ISO_19115) public Collection<CitationDate> getDateInfo()Returns the date(s) associated with the metadata.- Returns:
- date(s) associated with the metadata.
- Since:
- 0.5
- See Also:
-
setDateInfo
Sets the date(s) associated with the metadata. The collection should contain at least an element forDateType.CREATION.- Parameters:
newValues- new dates associated with the metadata.- Since:
- 0.5
-
getDateStamp
Deprecated.As of ISO 19115:2014, replaced bygetDateInfo().Returns the date that the metadata was created.- Specified by:
getDateStampin interfaceMetadata- Returns:
- date that the metadata was created, or
null.
-
setDateStamp
Deprecated.As of ISO 19115:2014, replaced bysetDateInfo(Collection).Sets the date that the metadata was created.- Parameters:
newValue- the new date stamp.
-
getMetadataStandards
@UML(identifier="metadataStandard", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getMetadataStandards()Returns the citation(s) for the standard(s) to which the metadata conform. The collection returned by this method typically contains elements from theCitations.ISO_19115list.- Returns:
- the standard(s) to which the metadata conform.
- Since:
- 0.5
- See Also:
-
setMetadataStandards
Sets the citation(s) for the standard(s) to which the metadata conform. Metadata standard citations should include an identifier.- Parameters:
newValues- the new standard(s) to which the metadata conform.- Since:
- 0.5
-
getMetadataProfiles
@UML(identifier="metadataProfile", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getMetadataProfiles()Returns the citation(s) for the profile(s) of the metadata standard to which the metadata conform.- Returns:
- the profile(s) to which the metadata conform.
- Since:
- 0.5
- See Also:
-
setMetadataProfiles
Set the citation(s) for the profile(s) of the metadata standard to which the metadata conform. Metadata profile standard citations should include an identifier.- Parameters:
newValues- the new profile(s) to which the metadata conform.- Since:
- 0.5
-
getAlternativeMetadataReferences
@UML(identifier="alternativeMetadataReference", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getAlternativeMetadataReferences()Returns reference(s) to alternative metadata or metadata in a non-ISO standard for the same resource.- Returns:
- reference(s) to alternative metadata (e.g. Dublin core, FGDC).
- Since:
- 0.5
-
setAlternativeMetadataReferences
Set reference(s) to alternative metadata or metadata in a non-ISO standard for the same resource.- Parameters:
newValues- the new reference(s) to alternative metadata (e.g. Dublin core, FGDC).- Since:
- 0.5
-
getMetadataStandardName
Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.getTitle().Returns the name of the metadata standard (including profile name) used.- Specified by:
getMetadataStandardNamein interfaceMetadata- Returns:
- name of the metadata standard used, or
null.
-
setMetadataStandardName
Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.setTitle(InternationalString).Name of the metadata standard (including profile name) used.- Parameters:
newValue- the new metadata standard name.
-
getMetadataStandardVersion
Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.getEdition().Returns the version (profile) of the metadata standard used.- Specified by:
getMetadataStandardVersionin interfaceMetadata- Returns:
- version of the metadata standard used, or
null.
-
setMetadataStandardVersion
Deprecated.As of ISO 19115:2014, replaced bygetMetadataStandards()followed byDefaultCitation.setEdition(InternationalString).Sets the version (profile) of the metadata standard used.- Parameters:
newValue- the new metadata standard version.
-
getMetadataLinkages
@UML(identifier="metadataLinkage", obligation=OPTIONAL, specification=ISO_19115) public Collection<OnlineResource> getMetadataLinkages()Returns the online location(s) where the metadata is available.- Returns:
- online location(s) where the metadata is available.
- Since:
- 0.5
-
setMetadataLinkages
Sets the online location(s) where the metadata is available.- Parameters:
newValues- the new online location(s).- Since:
- 0.5
-
getDataSetUri
Deprecated.As of ISO 19115:2014, replaced bygetIdentificationInfo()followed byAbstractIdentification.getCitation()followed byDefaultCitation.getOnlineResources().Provides the URI of the dataset to which the metadata applies.- Specified by:
getDataSetUriin interfaceMetadata- Returns:
- Uniform Resource Identifier of the dataset, or
null.
-
setDataSetUri
Deprecated.As of ISO 19115:2014, replaced bygetIdentificationInfo()followed byAbstractIdentification.getCitation()followed byDefaultCitation.setOnlineResources(Collection).Sets the URI of the dataset to which the metadata applies. This method sets the linkage of the first online resource in the citation of the first identification info.- Parameters:
newValue- the new data set URI.- Throws:
URISyntaxException- if the given value cannot be parsed as a URI.
-
getSpatialRepresentationInfo
Returns the digital representation of spatial information in the dataset.- Specified by:
getSpatialRepresentationInfoin interfaceMetadata- Returns:
- digital representation of spatial information in the dataset.
-
setSpatialRepresentationInfo
Sets the digital representation of spatial information in the dataset.- Parameters:
newValues- the new spatial representation info.
-
getReferenceSystemInfo
Returns the description of the spatial and temporal reference systems used in the dataset.- Specified by:
getReferenceSystemInfoin interfaceMetadata- Returns:
- spatial and temporal reference systems used in the dataset.
-
setReferenceSystemInfo
Sets the description of the spatial and temporal reference systems used in the dataset.- Parameters:
newValues- the new reference system info.
-
getMetadataExtensionInfo
Returns information describing metadata extensions.- Specified by:
getMetadataExtensionInfoin interfaceMetadata- Returns:
- metadata extensions.
-
setMetadataExtensionInfo
Sets information describing metadata extensions.- Parameters:
newValues- the new metadata extension info.
-
getIdentificationInfo
Returns basic information about the resource(s) to which the metadata applies.- Specified by:
getIdentificationInfoin interfaceMetadata- Returns:
- the resource(s) to which the metadata applies.
-
setIdentificationInfo
Sets basic information about the resource(s) to which the metadata applies.- Parameters:
newValues- the new identification info.
-
getContentInfo
Returns information about the feature catalogue and describes the coverage and image data characteristics.- Specified by:
getContentInfoin interfaceMetadata- Returns:
- the feature catalogue, coverage descriptions and image data characteristics.
-
setContentInfo
Sets information about the feature catalogue and describes the coverage and image data characteristics.- Parameters:
newValues- the new content info.
-
getDistributionInfo
Returns information about the distributor of and options for obtaining the resource(s).Upcoming API change — multiplicity
As of ISO 19115:2014, this singleton has been replaced by a collection. This change will tentatively be applied in GeoAPI 4.0.- Specified by:
getDistributionInfoin interfaceMetadata- Returns:
- the distributor of and options for obtaining the resource(s).
-
setDistributionInfo
Sets information about the distributor of and options for obtaining the resource(s).Upcoming API change — multiplicity
As of ISO 19115:2014, this singleton has been replaced by a collection. This change will tentatively be applied in GeoAPI 4.0.- Parameters:
newValue- the new distribution info.
-
getDataQualityInfo
Returns overall assessment of quality of a resource(s).- Specified by:
getDataQualityInfoin interfaceMetadata- Returns:
- overall assessment of quality of a resource(s).
-
setDataQualityInfo
Sets overall assessment of quality of a resource(s).- Parameters:
newValues- the new data quality info.
-
getPortrayalCatalogueInfo
Returns information about the catalogue of rules defined for the portrayal of a resource(s).- Specified by:
getPortrayalCatalogueInfoin interfaceMetadata- Returns:
- the catalogue of rules defined for the portrayal of a resource(s).
-
setPortrayalCatalogueInfo
Sets information about the catalogue of rules defined for the portrayal of a resource(s).- Parameters:
newValues- the new portrayal catalog info.
-
getMetadataConstraints
Returns restrictions on the access and use of metadata.- Specified by:
getMetadataConstraintsin interfaceMetadata- Returns:
- restrictions on the access and use of metadata.
- See Also:
-
setMetadataConstraints
Sets restrictions on the access and use of metadata.- Parameters:
newValues- the new metadata constraints.- See Also:
-
getApplicationSchemaInfo
Returns information about the conceptual schema of a dataset.- Specified by:
getApplicationSchemaInfoin interfaceMetadata- Returns:
- the conceptual schema of a dataset.
-
setApplicationSchemaInfo
Returns information about the conceptual schema of a dataset.- Parameters:
newValues- the new application schema info.
-
getAcquisitionInformation
Returns information about the acquisition of the data.- Specified by:
getAcquisitionInformationin interfaceMetadata- Returns:
- the acquisition of data.
-
setAcquisitionInformation
Sets information about the acquisition of the data.- Parameters:
newValues- the new acquisition information.
-
getMetadataMaintenance
Returns information about the frequency of metadata updates, and the scope of those updates.- Specified by:
getMetadataMaintenancein interfaceMetadata- Returns:
- the frequency of metadata updates and their scope, or
null. - See Also:
-
setMetadataMaintenance
Sets information about the frequency of metadata updates, and the scope of those updates.- Parameters:
newValue- the new metadata maintenance.- See Also:
-
getResourceLineages
@UML(identifier="resourceLineage", obligation=OPTIONAL, specification=ISO_19115) public Collection<Lineage> getResourceLineages()Returns information about the provenance, sources and/or the production processes applied to the resource.- Returns:
- information about the provenance, sources and/or the production processes.
- Since:
- 0.5
-
setResourceLineages
Sets information about the provenance, sources and/or the production processes applied to the resource.- Parameters:
newValues- new information about the provenance, sources and/or the production processes.- Since:
- 0.5
-
getLocalesAndCharsets().values().