org.geotools.metadata.iso.quality
Class DataQualityImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.quality.DataQualityImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.quality.DataQuality, java.io.Serializable

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 18892 2006-03-31 12:01:06Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
DataQualityImpl()
          Constructs an initially empty data quality.
DataQualityImpl(org.opengis.metadata.quality.Scope scope)
          Creates a data quality initialized to the given scope.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares this data quality with the specified object for equality.
protected  void freeze()
          Declares this metadata and all its attributes as unmodifiable.
 org.opengis.metadata.lineage.Lineage getLineage()
          Non-quantitative quality information about the lineage of the data specified by the scope.
 java.util.Collection 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.
 int hashCode()
          Returns a hash code value for this address.
 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 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.
 java.lang.String toString()
          Returns a string representation of this data quality.
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, 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.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 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 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.


freeze

protected void freeze()
Declares this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class MetadataEntity

equals

public boolean equals(java.lang.Object object)
Compares this data quality with the specified object for equality.


hashCode

public int hashCode()
Returns a hash code value for this address. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.


toString

public java.lang.String toString()
Returns a string representation of this data quality.



Copyright © GeoTools. All Rights Reserved.