org.geotools.metadata.iso.quality
Class DataQualityImpl

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.quality.DataQualityImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.quality.DataQuality

public class DataQualityImpl
extends MetadataEntity
implements org.opengis.metadata.quality.DataQuality

Quality information for the data specified by a data quality scope.

Since:
2.1
Version:
$Id: DataQualityImpl.java 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
DataQualityImpl()
          Constructs an initially empty data quality.
DataQualityImpl(org.opengis.metadata.quality.DataQuality source)
          Constructs a metadata entity initialized with the values from the specified metadata.
DataQualityImpl(org.opengis.metadata.quality.Scope scope)
          Creates a data quality initialized to the given scope.
 
Method Summary
 org.opengis.metadata.lineage.Lineage getLineage()
          Non-quantitative quality information about the lineage of the data specified by the scope.
 java.util.Collection<org.opengis.metadata.quality.Element> getReports()
          Quantitative quality information for the data specified by the scope.
 org.opengis.metadata.quality.Scope getScope()
          The specific data to which the data quality information applies.
 void setLineage(org.opengis.metadata.lineage.Lineage newValue)
          Set the non-quantitative quality information about the lineage of the data specified by the scope.
 void setReports(java.util.Collection<? extends org.opengis.metadata.quality.Element> newValues)
          Set the quantitative quality information for the data specified by the scope.
 void setScope(org.opengis.metadata.quality.Scope newValue)
          Set the specific data to which the data quality information applies.
 
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

DataQualityImpl

public DataQualityImpl()
Constructs an initially empty data quality.


DataQualityImpl

public DataQualityImpl(org.opengis.metadata.quality.DataQuality source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

DataQualityImpl

public DataQualityImpl(org.opengis.metadata.quality.Scope scope)
Creates a data quality initialized to the given scope.

Method Detail

getScope

public org.opengis.metadata.quality.Scope getScope()
The specific data to which the data quality information applies.

Specified by:
getScope in interface org.opengis.metadata.quality.DataQuality

setScope

public void setScope(org.opengis.metadata.quality.Scope newValue)
Set the specific data to which the data quality information applies.


getReports

public java.util.Collection<org.opengis.metadata.quality.Element> getReports()
Quantitative quality information for the data specified by the scope. Should be provided only if scope level is dataset.

Specified by:
getReports in interface org.opengis.metadata.quality.DataQuality

setReports

public void setReports(java.util.Collection<? extends org.opengis.metadata.quality.Element> newValues)
Set the quantitative quality information for the data specified by the scope. Should be provided only if scope level is dataset.


getLineage

public org.opengis.metadata.lineage.Lineage getLineage()
Non-quantitative quality information about the lineage of the data specified by the scope. Should be provided only if scope level is dataset.

Specified by:
getLineage in interface org.opengis.metadata.quality.DataQuality

setLineage

public void setLineage(org.opengis.metadata.lineage.Lineage newValue)
Set the non-quantitative quality information about the lineage of the data specified by the scope. Should be provided only if scope level is dataset.



Copyright © 1996-2010 Geotools. All Rights Reserved.