org.geotools.metadata.iso
Class MetaDataImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by MetaDataImpl
All Implemented Interfaces:
Serializable, Cloneable, MetaData

public class MetaDataImpl
extends MetadataEntity
implements MetaData

Root entity which defines metadata about a resource or resources.

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
MetaDataImpl()
          Creates an initially empty metadata.
MetaDataImpl(MetaData source)
          Constructs a metadata entity initialized with the values from the specified metadata.
MetaDataImpl(ResponsibleParty contact, Date dateStamp, Identification identificationInfo)
          Creates a meta data initialised to the specified values.
 
Method Summary
 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 setApplicationSchemaInfo(Collection<? extends ApplicationSchemaInformation> newValues)
          Provides information about the conceptual schema of a dataset.
 void setCharacterSet(CharacterSet newValue)
          Set the full name of the character coding standard used for the metadata set.
 void setContacts(Collection<? extends ResponsibleParty> newValues)
          Set the parties responsible for the metadata information.
 void setContentInfo(Collection<? extends ContentInformation> newValues)
          Set information about the feature catalogue and describes the coverage and image data characteristics.
 void setDataQualityInfo(Collection<? extends DataQuality> newValues)
          Set 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)
          Set 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)
          Set the unique identifier for this metadata file, or null if none.
 void setHierarchyLevelNames(Collection<? extends String> newValues)
          Set the name of the hierarchy levels for which the metadata is provided.
 void setHierarchyLevels(Collection<? extends ScopeCode> newValues)
          Set the scope to which the metadata applies.
 void setIdentificationInfo(Collection<? extends Identification> newValues)
          Set basic information about the resource(s) to which the metadata applies.
 void setLanguage(Locale newValue)
          Set the language used for documenting metadata.
 void setLocales(Collection<? extends Locale> newValues)
          Set information about an alternatively used localized character string for a linguistic extension.
 void setMetadataConstraints(Collection<? extends Constraints> newValues)
          Set restrictions on the access and use of data.
 void setMetadataExtensionInfo(Collection<? extends MetadataExtensionInformation> newValues)
          Set information describing metadata extensions.
 void setMetadataMaintenance(MaintenanceInformation newValue)
          Set 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)
          Set the version (profile) of the metadata standard used.
 void setParentIdentifier(String newValue)
          Set the file identifier of the metadata to which this metadata is a subset (child).
 void setPortrayalCatalogueInfo(Collection<? extends PortrayalCatalogueReference> newValues)
          Set information about the catalogue of rules defined for the portrayal of a resource(s).
 void setReferenceSystemInfo(Collection<? extends ReferenceSystem> newValues)
          Set the description of the spatial and temporal reference systems used in the dataset.
 void setSpatialRepresentationInfo(Collection<? extends SpatialRepresentation> newValues)
          Set the digital representation of spatial information in the dataset.
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetaDataImpl

public MetaDataImpl()
Creates an initially empty metadata.


MetaDataImpl

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

Since:
2.4

MetaDataImpl

public MetaDataImpl(ResponsibleParty contact,
                    Date dateStamp,
                    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 String getFileIdentifier()
Returns the unique identifier for this metadata file, or null if none.

Specified by:
getFileIdentifier in interface MetaData
Returns:
Unique identifier for this metadata file, or null.

setFileIdentifier

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


getLanguage

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

Specified by:
getLanguage in interface MetaData
Returns:
Language used for documenting metadata, or null.

setLanguage

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


getCharacterSet

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

Specified by:
getCharacterSet in interface MetaData
Returns:
character coding standard used for the metadata, or null.

setCharacterSet

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


getParentIdentifier

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

Specified by:
getParentIdentifier in interface MetaData
Returns:
Identifier of the metadata to which this metadata is a subset, or null.

setParentIdentifier

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


getHierarchyLevels

public Collection<ScopeCode> getHierarchyLevels()
Returns the scope to which the metadata applies.

Specified by:
getHierarchyLevels in interface MetaData
Returns:
Scope to which the metadata applies.

setHierarchyLevels

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


getHierarchyLevelNames

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

Specified by:
getHierarchyLevelNames in interface MetaData
Returns:
Hierarchy levels for which the metadata is provided.

setHierarchyLevelNames

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


getContacts

public Collection<ResponsibleParty> getContacts()
Returns the parties responsible for the metadata information.

Specified by:
getContacts in interface MetaData
Returns:
Parties responsible for the metadata information.

setContacts

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


getDateStamp

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

Specified by:
getDateStamp in interface MetaData
Returns:
Date that the metadata was created.

setDateStamp

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


getMetadataStandardName

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

Specified by:
getMetadataStandardName in interface MetaData
Returns:
Name of the metadata standard used, or null.

setMetadataStandardName

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


getMetadataStandardVersion

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

Specified by:
getMetadataStandardVersion in interface MetaData
Returns:
Version of the metadata standard used, or null.

setMetadataStandardVersion

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


getSpatialRepresentationInfo

public Collection<SpatialRepresentation> getSpatialRepresentationInfo()
Returns the digital representation of spatial information in the dataset.

Specified by:
getSpatialRepresentationInfo in interface MetaData
Returns:
Digital representation of spatial information in the dataset.

setSpatialRepresentationInfo

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


getReferenceSystemInfo

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

Specified by:
getReferenceSystemInfo in interface MetaData
Returns:
Spatial and temporal reference systems used in the dataset.

setReferenceSystemInfo

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


getMetadataExtensionInfo

public Collection<MetadataExtensionInformation> getMetadataExtensionInfo()
Returns information describing metadata extensions.

Specified by:
getMetadataExtensionInfo in interface MetaData
Returns:
Metadata extensions.

setMetadataExtensionInfo

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


getIdentificationInfo

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

Specified by:
getIdentificationInfo in interface MetaData
Returns:
The resource(s) to which the metadata applies.

setIdentificationInfo

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


getContentInfo

public Collection<ContentInformation> getContentInfo()
Provides information about the feature catalogue and describes the coverage and image data characteristics.

Specified by:
getContentInfo in interface MetaData
Returns:
The feature catalogue, coverage descriptions and image data characteristics.

setContentInfo

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


getDistributionInfo

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

Specified by:
getDistributionInfo in interface MetaData
Returns:
The distributor of and options for obtaining the resource(s).

setDistributionInfo

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


getDataQualityInfo

public Collection<DataQuality> getDataQualityInfo()
Provides overall assessment of quality of a resource(s).

Specified by:
getDataQualityInfo in interface MetaData
Returns:
Overall assessment of quality of a resource(s).

setDataQualityInfo

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


getPortrayalCatalogueInfo

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

Specified by:
getPortrayalCatalogueInfo in interface MetaData
Returns:
The catalogue of rules defined for the portrayal of a resource(s).

setPortrayalCatalogueInfo

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


getMetadataConstraints

public Collection<Constraints> getMetadataConstraints()
Provides restrictions on the access and use of data.

Specified by:
getMetadataConstraints in interface MetaData
Returns:
Restrictions on the access and use of data.

setMetadataConstraints

public void setMetadataConstraints(Collection<? extends Constraints> newValues)
Set restrictions on the access and use of data.


getApplicationSchemaInfo

public Collection<ApplicationSchemaInformation> getApplicationSchemaInfo()
Provides information about the conceptual schema of a dataset.

Specified by:
getApplicationSchemaInfo in interface MetaData
Returns:
The conceptual schema of a dataset.

setApplicationSchemaInfo

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


getMetadataMaintenance

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

Specified by:
getMetadataMaintenance in interface MetaData
Returns:
The frequency of metadata updates and their scope.

setMetadataMaintenance

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


getLocales

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

Specified by:
getLocales in interface MetaData
Returns:
Alternatively used localized character string for a linguistic extension.
Since:
2.4

setLocales

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

Since:
2.4

getDataSetUri

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

Specified by:
getDataSetUri in interface MetaData
Returns:
Uniformed Resource Identifier of the dataset, or null.
Since:
2.4

setDataSetUri

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

Since:
2.4


Copyright © 1996-2014 Geotools. All Rights Reserved.