org.geotools.metadata.iso.quality
Class DataQualityImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by DataQualityImpl
All Implemented Interfaces:
Serializable, Cloneable, DataQuality

public class DataQualityImpl
extends MetadataEntity
implements DataQuality

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

Since:
2.1
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form
Module:
modules/library/metadata (gt-metadata.jar)

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

DataQualityImpl

public DataQualityImpl()
Constructs an initially empty data quality.


DataQualityImpl

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

Since:
2.4

DataQualityImpl

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

Method Detail

getScope

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

Specified by:
getScope in interface DataQuality

setScope

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


getReports

public Collection<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 DataQuality

setReports

public void setReports(Collection<? extends 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 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 DataQuality

setLineage

public void setLineage(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.