org.geotools.metadata.iso
Class MetaDataImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.MetaDataImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.MetaData

public class MetaDataImpl
extends MetadataEntity
implements org.opengis.metadata.MetaData

Root entity which defines metadata about a resource or resources.

Since:
2.1
Version:
$Id: MetaDataImpl.java 31593 2008-09-25 12:30:10Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
MetaDataImpl()
          Creates an initially empty metadata.
MetaDataImpl(org.opengis.metadata.MetaData source)
          Constructs a metadata entity initialized with the values from the specified metadata.
MetaDataImpl(org.opengis.metadata.citation.ResponsibleParty contact, java.util.Date dateStamp, org.opengis.metadata.identification.Identification identificationInfo)
          Creates a meta data initialised to the specified values.
 
Method Summary
 java.util.Collection<org.opengis.metadata.ApplicationSchemaInformation> getApplicationSchemaInfo()
          Provides information about the conceptual schema of a dataset.
 org.opengis.metadata.identification.CharacterSet getCharacterSet()
          Returns the full name of the character coding standard used for the metadata set.
 java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getContacts()
          Returns the parties responsible for the metadata information.
 java.util.Collection<org.opengis.metadata.content.ContentInformation> getContentInfo()
          Provides information about the feature catalogue and describes the coverage and image data characteristics.
 java.util.Collection<org.opengis.metadata.quality.DataQuality> getDataQualityInfo()
          Provides overall assessment of quality of a resource(s).
 java.lang.String getDataSetUri()
          Provides the URI of the dataset to which the metadata applies.
 java.util.Date getDateStamp()
          Returns the date that the metadata was created.
 org.opengis.metadata.distribution.Distribution getDistributionInfo()
          Provides information about the distributor of and options for obtaining the resource(s).
 java.lang.String getFileIdentifier()
          Returns the unique identifier for this metadata file, or null if none.
 java.util.Collection<java.lang.String> getHierarchyLevelNames()
          Returns the name of the hierarchy levels for which the metadata is provided.
 java.util.Collection<org.opengis.metadata.maintenance.ScopeCode> getHierarchyLevels()
          Returns the scope to which the metadata applies.
 java.util.Collection<org.opengis.metadata.identification.Identification> getIdentificationInfo()
          Returns basic information about the resource(s) to which the metadata applies.
 java.util.Locale getLanguage()
          Returns the language used for documenting metadata.
 java.util.Collection<java.util.Locale> getLocales()
          Provides information about an alternatively used localized character string for a linguistic extension.
 java.util.Collection<org.opengis.metadata.constraint.Constraints> getMetadataConstraints()
          Provides restrictions on the access and use of data.
 java.util.Collection<org.opengis.metadata.MetadataExtensionInformation> getMetadataExtensionInfo()
          Returns information describing metadata extensions.
 org.opengis.metadata.maintenance.MaintenanceInformation getMetadataMaintenance()
          Provides information about the frequency of metadata updates, and the scope of those updates.
 java.lang.String getMetadataStandardName()
          Returns the name of the metadata standard (including profile name) used.
 java.lang.String getMetadataStandardVersion()
          Returns the version (profile) of the metadata standard used.
 java.lang.String getParentIdentifier()
          Returns the file identifier of the metadata to which this metadata is a subset (child).
 java.util.Collection<org.opengis.metadata.PortrayalCatalogueReference> getPortrayalCatalogueInfo()
          Provides information about the catalogue of rules defined for the portrayal of a resource(s).
 java.util.Collection<org.opengis.referencing.ReferenceSystem> getReferenceSystemInfo()
          Returns the description of the spatial and temporal reference systems used in the dataset.
 java.util.Collection<org.opengis.metadata.spatial.SpatialRepresentation> getSpatialRepresentationInfo()
          Returns the digital representation of spatial information in the dataset.
 void setApplicationSchemaInfo(java.util.Collection<? extends org.opengis.metadata.ApplicationSchemaInformation> newValues)
          Provides information about the conceptual schema of a dataset.
 void setCharacterSet(org.opengis.metadata.identification.CharacterSet newValue)
          Set the full name of the character coding standard used for the metadata set.
 void setContacts(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
          Set the parties responsible for the metadata information.
 void setContentInfo(java.util.Collection<? extends org.opengis.metadata.content.ContentInformation> newValues)
          Set information about the feature catalogue and describes the coverage and image data characteristics.
 void setDataQualityInfo(java.util.Collection<? extends org.opengis.metadata.quality.DataQuality> newValues)
          Set overall assessment of quality of a resource(s).
 void setDataSetUri(java.lang.String newValue)
          Sets the URI of the dataset to which the metadata applies.
 void setDateStamp(java.util.Date newValue)
          Set the date that the metadata was created.
 void setDistributionInfo(org.opengis.metadata.distribution.Distribution newValue)
          Provides information about the distributor of and options for obtaining the resource(s).
 void setFileIdentifier(java.lang.String newValue)
          Set the unique identifier for this metadata file, or null if none.
 void setHierarchyLevelNames(java.util.Collection<? extends java.lang.String> newValues)
          Set the name of the hierarchy levels for which the metadata is provided.
 void setHierarchyLevels(java.util.Collection<? extends org.opengis.metadata.maintenance.ScopeCode> newValues)
          Set the scope to which the metadata applies.
 void setIdentificationInfo(java.util.Collection<? extends org.opengis.metadata.identification.Identification> newValues)
          Set basic information about the resource(s) to which the metadata applies.
 void setLanguage(java.util.Locale newValue)
          Set the language used for documenting metadata.
 void setLocales(java.util.Collection<? extends java.util.Locale> newValues)
          Set information about an alternatively used localized character string for a linguistic extension.
 void setMetadataConstraints(java.util.Collection<? extends org.opengis.metadata.constraint.Constraints> newValues)
          Set restrictions on the access and use of data.
 void setMetadataExtensionInfo(java.util.Collection<? extends org.opengis.metadata.MetadataExtensionInformation> newValues)
          Set information describing metadata extensions.
 void setMetadataMaintenance(org.opengis.metadata.maintenance.MaintenanceInformation newValue)
          Set information about the frequency of metadata updates, and the scope of those updates.
 void setMetadataStandardName(java.lang.String newValue)
          Name of the metadata standard (including profile name) used.
 void setMetadataStandardVersion(java.lang.String newValue)
          Set the version (profile) of the metadata standard used.
 void setParentIdentifier(java.lang.String newValue)
          Set the file identifier of the metadata to which this metadata is a subset (child).
 void setPortrayalCatalogueInfo(java.util.Collection<? extends org.opengis.metadata.PortrayalCatalogueReference> newValues)
          Set information about the catalogue of rules defined for the portrayal of a resource(s).
 void setReferenceSystemInfo(java.util.Collection<? extends org.opengis.referencing.ReferenceSystem> newValues)
          Set the description of the spatial and temporal reference systems used in the dataset.
 void setSpatialRepresentationInfo(java.util.Collection<? extends org.opengis.metadata.spatial.SpatialRepresentation> newValues)
          Set the digital representation of spatial information in the dataset.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaDataImpl

public MetaDataImpl()
Creates an initially empty metadata.


MetaDataImpl

public MetaDataImpl(org.opengis.metadata.MetaData source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

MetaDataImpl

public MetaDataImpl(org.opengis.metadata.citation.ResponsibleParty contact,
                    java.util.Date dateStamp,
                    org.opengis.metadata.identification.Identification identificationInfo)
Creates a meta data initialised 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.
Method Detail

getFileIdentifier

public java.lang.String getFileIdentifier()
Returns the unique identifier for this metadata file, or null if none.

Specified by:
getFileIdentifier in interface org.opengis.metadata.MetaData

setFileIdentifier

public void setFileIdentifier(java.lang.String newValue)
Set the unique identifier for this metadata file, or null if none.


getLanguage

public java.util.Locale getLanguage()
Returns the language used for documenting metadata.

Specified by:
getLanguage in interface org.opengis.metadata.MetaData

setLanguage

public void setLanguage(java.util.Locale newValue)
Set the language used for documenting metadata.


getCharacterSet

public org.opengis.metadata.identification.CharacterSet getCharacterSet()
Returns the full name of the character coding standard used for the metadata set.

Specified by:
getCharacterSet in interface org.opengis.metadata.MetaData

setCharacterSet

public void setCharacterSet(org.opengis.metadata.identification.CharacterSet newValue)
Set the full name of the character coding standard used for the metadata set.


getParentIdentifier

public java.lang.String getParentIdentifier()
Returns the file identifier of the metadata to which this metadata is a subset (child).

Specified by:
getParentIdentifier in interface org.opengis.metadata.MetaData

setParentIdentifier

public void setParentIdentifier(java.lang.String newValue)
Set the file identifier of the metadata to which this metadata is a subset (child).


getHierarchyLevels

public java.util.Collection<org.opengis.metadata.maintenance.ScopeCode> getHierarchyLevels()
Returns the scope to which the metadata applies.

Specified by:
getHierarchyLevels in interface org.opengis.metadata.MetaData

setHierarchyLevels

public void setHierarchyLevels(java.util.Collection<? extends org.opengis.metadata.maintenance.ScopeCode> newValues)
Set the scope to which the metadata applies.


getHierarchyLevelNames

public java.util.Collection<java.lang.String> getHierarchyLevelNames()
Returns the name of the hierarchy levels for which the metadata is provided.

Specified by:
getHierarchyLevelNames in interface org.opengis.metadata.MetaData

setHierarchyLevelNames

public void setHierarchyLevelNames(java.util.Collection<? extends java.lang.String> newValues)
Set the name of the hierarchy levels for which the metadata is provided.


getContacts

public java.util.Collection<org.opengis.metadata.citation.ResponsibleParty> getContacts()
Returns the parties responsible for the metadata information.

Specified by:
getContacts in interface org.opengis.metadata.MetaData

setContacts

public void setContacts(java.util.Collection<? extends org.opengis.metadata.citation.ResponsibleParty> newValues)
Set the parties responsible for the metadata information.


getDateStamp

public java.util.Date getDateStamp()
Returns the date that the metadata was created.

Specified by:
getDateStamp in interface org.opengis.metadata.MetaData

setDateStamp

public void setDateStamp(java.util.Date newValue)
Set the date that the metadata was created.


getMetadataStandardName

public java.lang.String getMetadataStandardName()
Returns the name of the metadata standard (including profile name) used.

Specified by:
getMetadataStandardName in interface org.opengis.metadata.MetaData

setMetadataStandardName

public void setMetadataStandardName(java.lang.String newValue)
Name of the metadata standard (including profile name) used.


getMetadataStandardVersion

public java.lang.String getMetadataStandardVersion()
Returns the version (profile) of the metadata standard used.

Specified by:
getMetadataStandardVersion in interface org.opengis.metadata.MetaData

setMetadataStandardVersion

public void setMetadataStandardVersion(java.lang.String newValue)
Set the version (profile) of the metadata standard used.


getSpatialRepresentationInfo

public java.util.Collection<org.opengis.metadata.spatial.SpatialRepresentation> getSpatialRepresentationInfo()
Returns the digital representation of spatial information in the dataset.

Specified by:
getSpatialRepresentationInfo in interface org.opengis.metadata.MetaData

setSpatialRepresentationInfo

public void setSpatialRepresentationInfo(java.util.Collection<? extends org.opengis.metadata.spatial.SpatialRepresentation> newValues)
Set the digital representation of spatial information in the dataset.


getReferenceSystemInfo

public java.util.Collection<org.opengis.referencing.ReferenceSystem> getReferenceSystemInfo()
Returns the description of the spatial and temporal reference systems used in the dataset.

Specified by:
getReferenceSystemInfo in interface org.opengis.metadata.MetaData

setReferenceSystemInfo

public void setReferenceSystemInfo(java.util.Collection<? extends org.opengis.referencing.ReferenceSystem> newValues)
Set the description of the spatial and temporal reference systems used in the dataset.


getMetadataExtensionInfo

public java.util.Collection<org.opengis.metadata.MetadataExtensionInformation> getMetadataExtensionInfo()
Returns information describing metadata extensions.

Specified by:
getMetadataExtensionInfo in interface org.opengis.metadata.MetaData

setMetadataExtensionInfo

public void setMetadataExtensionInfo(java.util.Collection<? extends org.opengis.metadata.MetadataExtensionInformation> newValues)
Set information describing metadata extensions.


getIdentificationInfo

public java.util.Collection<org.opengis.metadata.identification.Identification> getIdentificationInfo()
Returns basic information about the resource(s) to which the metadata applies.

Specified by:
getIdentificationInfo in interface org.opengis.metadata.MetaData

setIdentificationInfo

public void setIdentificationInfo(java.util.Collection<? extends org.opengis.metadata.identification.Identification> newValues)
Set basic information about the resource(s) to which the metadata applies.


getContentInfo

public java.util.Collection<org.opengis.metadata.content.ContentInformation> getContentInfo()
Provides information about the feature catalogue and describes the coverage and image data characteristics.

Specified by:
getContentInfo in interface org.opengis.metadata.MetaData

setContentInfo

public void setContentInfo(java.util.Collection<? extends org.opengis.metadata.content.ContentInformation> newValues)
Set information about the feature catalogue and describes the coverage and image data characteristics.


getDistributionInfo

public org.opengis.metadata.distribution.Distribution getDistributionInfo()
Provides information about the distributor of and options for obtaining the resource(s).

Specified by:
getDistributionInfo in interface org.opengis.metadata.MetaData

setDistributionInfo

public void setDistributionInfo(org.opengis.metadata.distribution.Distribution newValue)
Provides information about the distributor of and options for obtaining the resource(s).


getDataQualityInfo

public java.util.Collection<org.opengis.metadata.quality.DataQuality> getDataQualityInfo()
Provides overall assessment of quality of a resource(s).

Specified by:
getDataQualityInfo in interface org.opengis.metadata.MetaData

setDataQualityInfo

public void setDataQualityInfo(java.util.Collection<? extends org.opengis.metadata.quality.DataQuality> newValues)
Set overall assessment of quality of a resource(s).


getPortrayalCatalogueInfo

public java.util.Collection<org.opengis.metadata.PortrayalCatalogueReference> getPortrayalCatalogueInfo()
Provides information about the catalogue of rules defined for the portrayal of a resource(s).

Specified by:
getPortrayalCatalogueInfo in interface org.opengis.metadata.MetaData

setPortrayalCatalogueInfo

public void setPortrayalCatalogueInfo(java.util.Collection<? extends org.opengis.metadata.PortrayalCatalogueReference> newValues)
Set information about the catalogue of rules defined for the portrayal of a resource(s).


getMetadataConstraints

public java.util.Collection<org.opengis.metadata.constraint.Constraints> getMetadataConstraints()
Provides restrictions on the access and use of data.

Specified by:
getMetadataConstraints in interface org.opengis.metadata.MetaData

setMetadataConstraints

public void setMetadataConstraints(java.util.Collection<? extends org.opengis.metadata.constraint.Constraints> newValues)
Set restrictions on the access and use of data.


getApplicationSchemaInfo

public java.util.Collection<org.opengis.metadata.ApplicationSchemaInformation> getApplicationSchemaInfo()
Provides information about the conceptual schema of a dataset.

Specified by:
getApplicationSchemaInfo in interface org.opengis.metadata.MetaData

setApplicationSchemaInfo

public void setApplicationSchemaInfo(java.util.Collection<? extends org.opengis.metadata.ApplicationSchemaInformation> newValues)
Provides information about the conceptual schema of a dataset.


getMetadataMaintenance

public org.opengis.metadata.maintenance.MaintenanceInformation getMetadataMaintenance()
Provides information about the frequency of metadata updates, and the scope of those updates.

Specified by:
getMetadataMaintenance in interface org.opengis.metadata.MetaData

setMetadataMaintenance

public void setMetadataMaintenance(org.opengis.metadata.maintenance.MaintenanceInformation newValue)
Set information about the frequency of metadata updates, and the scope of those updates.


getLocales

public java.util.Collection<java.util.Locale> getLocales()
Provides information about an alternatively used localized character string for a linguistic extension.

Specified by:
getLocales in interface org.opengis.metadata.MetaData
Since:
2.4

setLocales

public void setLocales(java.util.Collection<? extends java.util.Locale> newValues)
Set information about an alternatively used localized character string for a linguistic extension.

Since:
2.4

getDataSetUri

public java.lang.String getDataSetUri()
Provides the URI of the dataset to which the metadata applies.

Specified by:
getDataSetUri in interface org.opengis.metadata.MetaData
Since:
2.4

setDataSetUri

public void setDataSetUri(java.lang.String newValue)
Sets the URI of the dataset to which the metadata applies.

Since:
2.4


Copyright © 1996-2010 Geotools. All Rights Reserved.