public class DefaultMetadata extends ISOMetadata implements Metadata
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.Defined in the sis-metadata module
identifiers, LOGGER
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()
Provides information about the acquisition of the data.
|
Collection<ApplicationSchemaInformation> |
getApplicationSchemaInfo()
Provides information about the conceptual schema of a dataset.
|
CharacterSet |
getCharacterSet()
Returns the full name of the character coding standard used for the metadata set.
|
Collection<ResponsibleParty> |
getContacts()
Returns the parties responsible for the metadata information.
|
Collection<ContentInformation> |
getContentInfo()
Provides information about the feature catalogue and describes the coverage and
image data characteristics.
|
Collection<DataQuality> |
getDataQualityInfo()
Provides overall assessment of quality of a resource(s).
|
String |
getDataSetUri()
Provides the URI of the dataset to which the metadata applies.
|
Date |
getDateStamp()
Returns the date that the metadata was created.
|
Distribution |
getDistributionInfo()
Provides information about the distributor of and options for obtaining the resource(s).
|
String |
getFileIdentifier()
Returns the unique identifier for this metadata file, or
null if none. |
Collection<String> |
getHierarchyLevelNames()
Returns the name of the hierarchy levels for which the metadata is provided.
|
Collection<ScopeCode> |
getHierarchyLevels()
Returns the scope to which the metadata applies.
|
Collection<Identification> |
getIdentificationInfo()
Returns basic information about the resource(s) to which the metadata applies.
|
Locale |
getLanguage()
Returns the language used for documenting metadata.
|
Collection<Locale> |
getLocales()
Provides information about an alternatively used localized character string for a linguistic extension.
|
Collection<Constraints> |
getMetadataConstraints()
Provides restrictions on the access and use of data.
|
Collection<MetadataExtensionInformation> |
getMetadataExtensionInfo()
Returns information describing metadata extensions.
|
MaintenanceInformation |
getMetadataMaintenance()
Provides information about the frequency of metadata updates, and the scope of those updates.
|
String |
getMetadataStandardName()
Returns the name of the metadata standard (including profile name) used.
|
String |
getMetadataStandardVersion()
Returns the version (profile) of the metadata standard used.
|
String |
getParentIdentifier()
Returns the file identifier of the metadata to which this metadata is a subset (child).
|
Collection<PortrayalCatalogueReference> |
getPortrayalCatalogueInfo()
Provides 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<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 |
setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
Provides information about the conceptual schema of a dataset.
|
void |
setCharacterSet(CharacterSet newValue)
Sets the full name of 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)
Sets the URI of the dataset to which the metadata applies.
|
void |
setDateStamp(Date newValue)
Sets the date that the metadata was created.
|
void |
setDistributionInfo(Distribution newValue)
Provides information about the distributor of and options for obtaining the resource(s).
|
void |
setFileIdentifier(String newValue)
Sets the unique identifier for this metadata file, or
null if none. |
void |
setHierarchyLevelNames(Collection<? extends String> newValues)
Sets the name of the hierarchy levels for which the metadata is provided.
|
void |
setHierarchyLevels(Collection<? extends ScopeCode> newValues)
Sets the scope to which the metadata applies.
|
void |
setIdentificationInfo(Collection<? extends Identification> newValues)
Sets basic information about the resource(s) to which the metadata applies.
|
void |
setLanguage(Locale newValue)
Sets the language used for documenting metadata.
|
void |
setLocales(Collection<? extends Locale> newValues)
Sets information about an alternatively used localized character string for a linguistic extension.
|
void |
setMetadataConstraints(Collection<? extends Constraints> newValues)
Sets restrictions on the access and use of data.
|
void |
setMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues)
Sets information describing metadata extensions.
|
void |
setMetadataMaintenance(MaintenanceInformation newValue)
Sets information about the frequency of metadata updates, and the scope of those updates.
|
void |
setMetadataStandardName(String newValue)
Name of the metadata standard (including profile name) used.
|
void |
setMetadataStandardVersion(String newValue)
Sets the version (profile) of the metadata standard used.
|
void |
setParentIdentifier(String newValue)
Sets the file identifier of the metadata to which this metadata is a subset (child).
|
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 |
setSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues)
Sets the digital representation of spatial information in the dataset.
|
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 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.public String getFileIdentifier()
null
if none.getFileIdentifier
in interface Metadata
null
.public void setFileIdentifier(String newValue)
null
if none.newValue
- The new identifier.public Locale getLanguage()
DefaultMetadata
object and
its children will use that locale for marshalling InternationalString
and CodeList
instances in ISO 19139 compliant XML documents.getLanguage
in interface Metadata
null
.public void setLanguage(Locale newValue)
DefaultMetadata
object and its
children will use the given locale for marshalling InternationalString
and CodeList
instances in ISO 19139 compliant XML documents.newValue
- The new language.XML.LOCALE
public Collection<Locale> getLocales()
getLocales
in interface Metadata
public void setLocales(Collection<? extends Locale> newValues)
newValues
- The new locales.public CharacterSet getCharacterSet()
getCharacterSet
in interface Metadata
null
.public void setCharacterSet(CharacterSet newValue)
newValue
- The new character set.public String getParentIdentifier()
getParentIdentifier
in interface Metadata
null
.public void setParentIdentifier(String newValue)
newValue
- The new parent identifier.public Collection<ScopeCode> getHierarchyLevels()
getHierarchyLevels
in interface Metadata
public void setHierarchyLevels(Collection<? extends ScopeCode> newValues)
newValues
- The new hierarchy levels.public Collection<String> getHierarchyLevelNames()
getHierarchyLevelNames
in interface Metadata
public void setHierarchyLevelNames(Collection<? extends String> newValues)
newValues
- The new hierarchy level names.public Collection<ResponsibleParty> getContacts()
getContacts
in interface Metadata
public void setContacts(Collection<? extends ResponsibleParty> newValues)
newValues
- The new contacts.public Date getDateStamp()
getDateStamp
in interface Metadata
null
.public void setDateStamp(Date newValue)
newValue
- The new date stamp.public String getMetadataStandardName()
getMetadataStandardName
in interface Metadata
null
.public void setMetadataStandardName(String newValue)
newValue
- The new metadata standard name.public String getMetadataStandardVersion()
getMetadataStandardVersion
in interface Metadata
null
.public void setMetadataStandardVersion(String newValue)
newValue
- The new metadata standard version.public String getDataSetUri()
getDataSetUri
in interface Metadata
null
.public void setDataSetUri(String newValue)
newValue
- The new data set 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
null
.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
public void setMetadataConstraints(Collection<? extends Constraints> newValues)
newValues
- The new metadata constraints.public Collection<ApplicationSchemaInformation> getApplicationSchemaInfo()
getApplicationSchemaInfo
in interface Metadata
public void setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
newValues
- The new application schema info.public MaintenanceInformation getMetadataMaintenance()
getMetadataMaintenance
in interface Metadata
null
.public void setMetadataMaintenance(MaintenanceInformation newValue)
newValue
- The new metadata maintenance.public Collection<AcquisitionInformation> getAcquisitionInformation()
getAcquisitionInformation
in interface Metadata
public void setAcquisitionInformation(Collection<? extends AcquisitionInformation> newValues)
newValues
- The new acquisition information.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.