public class DefaultMetadata extends ISOMetadata implements Metadata
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.setLanguage(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.
XML
instead.Defined in the sis-metadata
module
identifiers
Constructor and Description |
---|
DefaultMetadata()
Creates an initially empty metadata.
|
DefaultMetadata(Metadata object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultMetadata(ResponsibleParty contact,
Date dateStamp,
Identification identificationInfo)
Creates a meta data initialized to the specified values.
|
Modifier and Type | Method and Description |
---|---|
static DefaultMetadata |
castOrCopy(Metadata object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
Collection<AcquisitionInformation> |
getAcquisitionInformation()
Returns information about the acquisition of the data.
|
Collection<Citation> |
getAlternativeMetadataReferences()
Returns reference(s) to alternative metadata or metadata in a non-ISO standard for the same resource.
|
Collection<ApplicationSchemaInformation> |
getApplicationSchemaInfo()
Returns information about the conceptual schema of a dataset.
|
CharacterSet |
getCharacterSet()
Deprecated.
As of GeoAPI 3.1, replaced by
getCharacterSets() . |
Collection<Charset> |
getCharacterSets()
Returns the character coding standard used for the metadata set.
|
Collection<ResponsibleParty> |
getContacts()
Returns the parties responsible for the metadata information.
|
Collection<ContentInformation> |
getContentInfo()
Returns information about the feature catalogue and describes the coverage and
image data characteristics.
|
Collection<DataQuality> |
getDataQualityInfo()
Returns overall assessment of quality of a resource(s).
|
String |
getDataSetUri()
Deprecated.
As of ISO 19115:2014, replaced by
getIdentificationInfo() followed by
AbstractIdentification.getCitation() followed by DefaultCitation.getOnlineResources() . |
Collection<CitationDate> |
getDateInfo()
Returns the date(s) associated with the metadata.
|
Date |
getDateStamp()
Deprecated.
As of ISO 19115:2014, replaced by
getDateInfo() . |
Distribution |
getDistributionInfo()
Returns information about the distributor of and options for obtaining the resource(s).
|
String |
getFileIdentifier()
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataIdentifier()
in order to include the codespace attribute. |
Collection<String> |
getHierarchyLevelNames()
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataScopes()
followed by DefaultMetadataScope.getName() . |
Collection<ScopeCode> |
getHierarchyLevels()
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataScopes()
followed by DefaultMetadataScope.getResourceScope() . |
Collection<Identification> |
getIdentificationInfo()
Returns basic information about the resource(s) to which the metadata applies.
|
Locale |
getLanguage()
Deprecated.
As of GeoAPI 3.1, replaced by
getLanguages() . |
Collection<Locale> |
getLanguages()
Returns the language(s) used for documenting metadata.
|
Collection<Locale> |
getLocales()
Deprecated.
As of GeoAPI 3.1, replaced by
getLanguages() . |
Collection<Constraints> |
getMetadataConstraints()
Returns restrictions on the access and use of metadata.
|
Collection<MetadataExtensionInformation> |
getMetadataExtensionInfo()
Returns information describing metadata extensions.
|
Identifier |
getMetadataIdentifier()
Returns a unique identifier for this metadata record.
|
Collection<OnlineResource> |
getMetadataLinkages()
Returns the online location(s) where the metadata is available.
|
MaintenanceInformation |
getMetadataMaintenance()
Returns information about the frequency of metadata updates, and the scope of those updates.
|
Collection<Citation> |
getMetadataProfiles()
Returns the citation(s) for the profile(s) of the metadata standard to which the metadata conform.
|
Collection<DefaultMetadataScope> |
getMetadataScopes()
Returns the scope or type of resource for which metadata is provided.
|
String |
getMetadataStandardName()
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataStandards()
followed by DefaultCitation.getTitle() . |
Collection<Citation> |
getMetadataStandards()
Returns the citation(s) for the standard(s) to which the metadata conform.
|
String |
getMetadataStandardVersion()
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataStandards()
followed by DefaultCitation.getEdition() . |
String |
getParentIdentifier()
Deprecated.
As of ISO 19115:2014, replaced by
getParentMetadata() . |
Citation |
getParentMetadata()
Returns an identification of the parent metadata record.
|
Collection<PortrayalCatalogueReference> |
getPortrayalCatalogueInfo()
Returns information about the catalogue of rules defined for the portrayal of a resource(s).
|
Collection<ReferenceSystem> |
getReferenceSystemInfo()
Returns the description of the spatial and temporal reference systems used in the dataset.
|
Collection<Lineage> |
getResourceLineages()
Returns information about the provenance, sources and/or the production processes applied to the resource.
|
Collection<SpatialRepresentation> |
getSpatialRepresentationInfo()
Returns the digital representation of spatial information in the dataset.
|
void |
setAcquisitionInformation(Collection<? extends AcquisitionInformation> newValues)
Sets information about the acquisition of the data.
|
void |
setAlternativeMetadataReferences(Collection<? extends Citation> newValues)
Set reference(s) to alternative metadata or metadata in a non-ISO standard for the same resource.
|
void |
setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
Returns information about the conceptual schema of a dataset.
|
void |
setCharacterSet(CharacterSet newValue)
Deprecated.
As of GeoAPI 3.1, replaced by
setCharacterSets(Collection) . |
void |
setCharacterSets(Collection<Charset> newValues)
Sets the character coding standard used for the metadata set.
|
void |
setContacts(Collection<? extends ResponsibleParty> newValues)
Sets the parties responsible for the metadata information.
|
void |
setContentInfo(Collection<? extends ContentInformation> newValues)
Sets information about the feature catalogue and describes the coverage and
image data characteristics.
|
void |
setDataQualityInfo(Collection<? extends DataQuality> newValues)
Sets overall assessment of quality of a resource(s).
|
void |
setDataSetUri(String newValue)
Deprecated.
As of ISO 19115:2014, replaced by
getIdentificationInfo()
followed by AbstractIdentification.getCitation()
followed by DefaultCitation.setOnlineResources(Collection) . |
void |
setDateInfo(Collection<? extends CitationDate> newValues)
Sets the date(s) associated with the metadata.
|
void |
setDateStamp(Date newValue)
Deprecated.
As of ISO 19115:2014, replaced by
setDateInfo(Collection) . |
void |
setDistributionInfo(Distribution newValue)
Sets information about the distributor of and options for obtaining the resource(s).
|
void |
setFileIdentifier(String newValue)
Deprecated.
As of ISO 19115:2014, replaced by
setMetadataIdentifier(Identifier) |
void |
setHierarchyLevelNames(Collection<? extends String> newValues)
Deprecated.
As of ISO 19115:2014, replaced by
setMetadataScopes(Collection)
and DefaultMetadataScope.setName(InternationalString) . |
void |
setHierarchyLevels(Collection<? extends ScopeCode> newValues)
Deprecated.
As of ISO 19115:2014, replaced by
setMetadataScopes(Collection)
and DefaultMetadataScope.setResourceScope(ScopeCode) . |
void |
setIdentificationInfo(Collection<? extends Identification> newValues)
Sets basic information about the resource(s) to which the metadata applies.
|
void |
setLanguage(Locale newValue)
Deprecated.
As of GeoAPI 3.1, replaced by
setLanguages(Collection) . |
void |
setLanguages(Collection<Locale> newValues)
Sets the language(s) used for documenting metadata.
|
void |
setLocales(Collection<? extends Locale> newValues)
Deprecated.
As of GeoAPI 3.1, replaced by
setLanguages(Collection) . |
void |
setMetadataConstraints(Collection<? extends Constraints> newValues)
Sets restrictions on the access and use of metadata.
|
void |
setMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues)
Sets information describing metadata extensions.
|
void |
setMetadataIdentifier(Identifier newValue)
Sets the unique identifier for this metadata record.
|
void |
setMetadataLinkages(Collection<? extends OnlineResource> newValues)
Sets the online location(s) where the metadata is available.
|
void |
setMetadataMaintenance(MaintenanceInformation newValue)
Sets information about the frequency of metadata updates, and the scope of those updates.
|
void |
setMetadataProfiles(Collection<? extends Citation> newValues)
Set the citation(s) for the profile(s) of the metadata standard to which the metadata conform.
|
void |
setMetadataScopes(Collection<? extends DefaultMetadataScope> newValues)
Sets the scope or type of resource for which metadata is provided.
|
void |
setMetadataStandardName(String newValue)
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataStandards()
followed by DefaultCitation.setTitle(InternationalString) . |
void |
setMetadataStandards(Collection<? extends Citation> newValues)
Sets the citation(s) for the standard(s) to which the metadata conform.
|
void |
setMetadataStandardVersion(String newValue)
Deprecated.
As of ISO 19115:2014, replaced by
getMetadataStandards()
followed by DefaultCitation.setEdition(InternationalString) . |
void |
setParentIdentifier(String newValue)
Deprecated.
As of ISO 19115:2014, replaced by
getParentMetadata() . |
void |
setParentMetadata(Citation newValue)
Sets an identification of the parent metadata record.
|
void |
setPortrayalCatalogueInfo(Collection<? extends PortrayalCatalogueReference> newValues)
Sets information about the catalogue of rules defined for the portrayal of a resource(s).
|
void |
setReferenceSystemInfo(Collection<? extends ReferenceSystem> newValues)
Sets the description of the spatial and temporal reference systems used in the dataset.
|
void |
setResourceLineages(Collection<? extends Lineage> newValues)
Sets information about the provenance, sources and/or the production processes applied to the resource.
|
void |
setSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues)
Sets the digital representation of spatial information in the dataset.
|
freeze, getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultMetadata()
public DefaultMetadata(ResponsibleParty contact, Date dateStamp, Identification identificationInfo)
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.public DefaultMetadata(Metadata object)
object
- the metadata to copy values from, or null
if none.castOrCopy(Metadata)
public static DefaultMetadata castOrCopy(Metadata object)
null
, then this method returns null
.DefaultMetadata
, then it is returned unchanged.DefaultMetadata
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.@UML(identifier="metadataIdentifier", obligation=OPTIONAL, specification=ISO_19115) public Identifier getMetadataIdentifier()
null
.public void setMetadataIdentifier(Identifier newValue)
newValue
- the new identifier, or null
if none.@Deprecated public String getFileIdentifier()
getMetadataIdentifier()
in order to include the codespace attribute.getFileIdentifier
in interface Metadata
null
.@Deprecated public void setFileIdentifier(String newValue)
setMetadataIdentifier(Identifier)
newValue
- the new identifier, or null
if none.@UML(identifier="defaultLocale+otherLocale", obligation=CONDITIONAL, specification=ISO_19115) public Collection<Locale> getLanguages()
Unless an other locale has been specified with the XML.LOCALE
property,
this DefaultMetadata
instance and its children will use the first locale returned by this method
for marshalling InternationalString
and CodeList
instances
in ISO 19115-2 compliant XML documents.
public void setLanguages(Collection<Locale> newValues)
newValues
- the new languages.XML.LOCALE
@Deprecated public Locale getLanguage()
getLanguages()
.getLanguage
in interface Metadata
null
.@Deprecated public void setLanguage(Locale newValue)
setLanguages(Collection)
.getLanguages()
as below:
newValue
.newValue
.newValue
- the new language.@Deprecated public Collection<Locale> getLocales()
getLanguages()
.getLocales
in interface Metadata
@Deprecated public void setLocales(Collection<? extends Locale> newValues)
setLanguages(Collection)
.newValues
- the new locales.@UML(identifier="characterSet", obligation=CONDITIONAL, specification=ISO_19115) public Collection<Charset> getCharacterSets()
Charset
.
Instances can be obtained by a call to Charset.forName(String)
.
UCS-2
, UCS-4
, UTF-7
, UTF-8
, UTF-16
,
ISO-8859-1
(a.k.a. ISO-LATIN-1
), ISO-8859-2
, ISO-8859-3
, ISO-8859-4
,
ISO-8859-5
, ISO-8859-6
, ISO-8859-7
, ISO-8859-8
, ISO-8859-9
,
ISO-8859-10
, ISO-8859-11
, ISO-8859-12
, ISO-8859-13
, ISO-8859-14
,
ISO-8859-15
, ISO-8859-16
,
JIS_X0201
, Shift_JIS
, EUC-JP
, US-ASCII
, EBCDIC
, EUC-KR
,
Big5
, GB2312
.
getLanguages()
,
DataIdentification.getCharacterSets()
,
Charset.forName(String)
public void setCharacterSets(Collection<Charset> newValues)
newValues
- the new character coding standards.@Deprecated public CharacterSet getCharacterSet()
getCharacterSets()
.getCharacterSet
in interface Metadata
null
.@Deprecated public void setCharacterSet(CharacterSet newValue)
setCharacterSets(Collection)
.newValue
- the new character set.@UML(identifier="parentMetadata", obligation=CONDITIONAL, specification=ISO_19115) public Citation getParentMetadata()
null
if none.public void setParentMetadata(Citation newValue)
newValue
- the new identification of the parent metadata record.@Deprecated public String getParentIdentifier()
getParentMetadata()
.getParentIdentifier
in interface Metadata
null
.@Deprecated public void setParentIdentifier(String newValue)
getParentMetadata()
.newValue
- the new parent identifier.@UML(identifier="metadataScope", obligation=CONDITIONAL, specification=ISO_19115) public Collection<DefaultMetadataScope> getMetadataScopes()
MetadataScope
interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
public void setMetadataScopes(Collection<? extends DefaultMetadataScope> newValues)
MetadataScope
interface
when GeoAPI will provide it (tentatively in GeoAPI 3.1).
newValues
- the new scope or type of resource.@Deprecated public final Collection<ScopeCode> getHierarchyLevels()
getMetadataScopes()
followed by DefaultMetadataScope.getResourceScope()
.getHierarchyLevels
in interface Metadata
@Deprecated public void setHierarchyLevels(Collection<? extends ScopeCode> newValues)
setMetadataScopes(Collection)
and DefaultMetadataScope.setResourceScope(ScopeCode)
.newValues
- the new hierarchy levels.@Deprecated public final Collection<String> getHierarchyLevelNames()
getMetadataScopes()
followed by DefaultMetadataScope.getName()
.getHierarchyLevelNames
in interface Metadata
@Deprecated public void setHierarchyLevelNames(Collection<? extends String> newValues)
setMetadataScopes(Collection)
and DefaultMetadataScope.setName(InternationalString)
.newValues
- the new hierarchy level names.public Collection<ResponsibleParty> getContacts()
ResponsibleParty
is replaced by the Responsibility
parent interface.
This change will be tentatively applied in GeoAPI 4.0.
getContacts
in interface Metadata
public void setContacts(Collection<? extends ResponsibleParty> newValues)
newValues
- the new contacts.@UML(identifier="dateInfo", obligation=MANDATORY, specification=ISO_19115) public Collection<CitationDate> getDateInfo()
Citation.getDates()
public void setDateInfo(Collection<? extends CitationDate> newValues)
DateType.CREATION
.newValues
- new dates associated with the metadata.@Deprecated public Date getDateStamp()
getDateInfo()
.getDateStamp
in interface Metadata
null
.@Deprecated public void setDateStamp(Date newValue)
setDateInfo(Collection)
.newValue
- the new date stamp.@UML(identifier="metadataStandard", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getMetadataStandards()
Citations.ISO_19115
list.getMetadataProfiles()
public void setMetadataStandards(Collection<? extends Citation> newValues)
newValues
- the new standard(s) to which the metadata conform.@UML(identifier="metadataProfile", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getMetadataProfiles()
getMetadataStandards()
,
getMetadataExtensionInfo()
public void setMetadataProfiles(Collection<? extends Citation> newValues)
newValues
- the new profile(s) to which the metadata conform.@UML(identifier="alternativeMetadataReference", obligation=OPTIONAL, specification=ISO_19115) public Collection<Citation> getAlternativeMetadataReferences()
public void setAlternativeMetadataReferences(Collection<? extends Citation> newValues)
newValues
- the new reference(s) to alternative metadata (e.g. Dublin core, FGDC).@Deprecated public String getMetadataStandardName()
getMetadataStandards()
followed by DefaultCitation.getTitle()
.getMetadataStandardName
in interface Metadata
null
.@Deprecated public void setMetadataStandardName(String newValue)
getMetadataStandards()
followed by DefaultCitation.setTitle(InternationalString)
.newValue
- the new metadata standard name.@Deprecated public String getMetadataStandardVersion()
getMetadataStandards()
followed by DefaultCitation.getEdition()
.getMetadataStandardVersion
in interface Metadata
null
.@Deprecated public void setMetadataStandardVersion(String newValue)
getMetadataStandards()
followed by DefaultCitation.setEdition(InternationalString)
.newValue
- the new metadata standard version.@UML(identifier="metadataLinkage", obligation=OPTIONAL, specification=ISO_19115) public Collection<OnlineResource> getMetadataLinkages()
public void setMetadataLinkages(Collection<? extends OnlineResource> newValues)
newValues
- the new online location(s).@Deprecated public String getDataSetUri()
getIdentificationInfo()
followed by
AbstractIdentification.getCitation()
followed by DefaultCitation.getOnlineResources()
.getDataSetUri
in interface Metadata
null
.@Deprecated public void setDataSetUri(String newValue) throws URISyntaxException
getIdentificationInfo()
followed by AbstractIdentification.getCitation()
followed by DefaultCitation.setOnlineResources(Collection)
.newValue
- the new data set URI.URISyntaxException
- if the given value can not be parsed as a URI.public Collection<SpatialRepresentation> getSpatialRepresentationInfo()
getSpatialRepresentationInfo
in interface Metadata
public void setSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues)
newValues
- the new spatial representation info.public Collection<ReferenceSystem> getReferenceSystemInfo()
getReferenceSystemInfo
in interface Metadata
public void setReferenceSystemInfo(Collection<? extends ReferenceSystem> newValues)
newValues
- the new reference system info.public Collection<MetadataExtensionInformation> getMetadataExtensionInfo()
getMetadataExtensionInfo
in interface Metadata
public void setMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues)
newValues
- the new metadata extension info.public Collection<Identification> getIdentificationInfo()
getIdentificationInfo
in interface Metadata
public void setIdentificationInfo(Collection<? extends Identification> newValues)
newValues
- the new identification info.public Collection<ContentInformation> getContentInfo()
getContentInfo
in interface Metadata
public void setContentInfo(Collection<? extends ContentInformation> newValues)
newValues
- the new content info.public Distribution getDistributionInfo()
getDistributionInfo
in interface Metadata
public void setDistributionInfo(Distribution newValue)
newValue
- the new distribution info.public Collection<DataQuality> getDataQualityInfo()
getDataQualityInfo
in interface Metadata
public void setDataQualityInfo(Collection<? extends DataQuality> newValues)
newValues
- the new data quality info.public Collection<PortrayalCatalogueReference> getPortrayalCatalogueInfo()
getPortrayalCatalogueInfo
in interface Metadata
public void setPortrayalCatalogueInfo(Collection<? extends PortrayalCatalogueReference> newValues)
newValues
- the new portrayal catalog info.public Collection<Constraints> getMetadataConstraints()
getMetadataConstraints
in interface Metadata
AbstractIdentification.getResourceConstraints()
public void setMetadataConstraints(Collection<? extends Constraints> newValues)
newValues
- the new metadata constraints.AbstractIdentification.setResourceConstraints(Collection)
public Collection<ApplicationSchemaInformation> getApplicationSchemaInfo()
getApplicationSchemaInfo
in interface Metadata
public void setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
newValues
- the new application schema info.public Collection<AcquisitionInformation> getAcquisitionInformation()
getAcquisitionInformation
in interface Metadata
public void setAcquisitionInformation(Collection<? extends AcquisitionInformation> newValues)
newValues
- the new acquisition information.public MaintenanceInformation getMetadataMaintenance()
getMetadataMaintenance
in interface Metadata
null
.AbstractIdentification.getResourceMaintenances()
public void setMetadataMaintenance(MaintenanceInformation newValue)
newValue
- the new metadata maintenance.AbstractIdentification.setResourceMaintenances(Collection)
@UML(identifier="resourceLineage", obligation=OPTIONAL, specification=ISO_19115) public Collection<Lineage> getResourceLineages()
public void setResourceLineages(Collection<? extends Lineage> newValues)
newValues
- new information about the provenance, sources and/or the production processes.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.