org.geotools.metadata.iso.quality
Class QuantitativeResultImpl

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.ResultImpl
                  extended by org.geotools.metadata.iso.quality.QuantitativeResultImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.quality.QuantitativeResult, org.opengis.metadata.quality.Result

public class QuantitativeResultImpl
extends ResultImpl
implements org.opengis.metadata.quality.QuantitativeResult

Information about the value (or set of values) obtained from applying a data quality measure.

Since:
2.1
Version:
$Id: QuantitativeResultImpl.java 30792 2008-06-23 19:19:58Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
QuantitativeResultImpl()
          Constructs an initially empty quantitative result.
QuantitativeResultImpl(double[] values)
          Constructs a quantitative result initialized to the specified value.
QuantitativeResultImpl(org.opengis.metadata.quality.QuantitativeResult source)
          Constructs a metadata entity initialized with the values from the specified metadata.
 
Method Summary
 org.opengis.util.InternationalString getErrorStatistic()
          Statistical method used to determine the value, or null if none.
 java.util.List<org.opengis.util.Record> getValues()
          Quantitative value or values, content determined by the evaluation procedure used.
 org.opengis.util.RecordType getValueType()
          Value type for reporting a data quality result, or null if none.
 javax.measure.unit.Unit getValueUnit()
          Value unit for reporting a data quality result, or null if none.
 void setErrorStatistic(org.opengis.util.InternationalString newValue)
          Set the statistical method used to determine the value, or null if none.
 void setValues(double[] newValues)
          Set the quantitative value or values, content determined by the evaluation procedure used.
 void setValues(java.util.List<org.opengis.util.Record> newValues)
          Set the quantitative value or values, content determined by the evaluation procedure used.
 void setValueType(org.opengis.util.RecordType newValue)
          Set the value type for reporting a data quality result, or null if none.
 void setValueUnit(javax.measure.unit.Unit newValue)
          Set the value unit for reporting a data quality result, or null if none.
 
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

QuantitativeResultImpl

public QuantitativeResultImpl()
Constructs an initially empty quantitative result.


QuantitativeResultImpl

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

Since:
2.4

QuantitativeResultImpl

public QuantitativeResultImpl(double[] values)
Constructs a quantitative result initialized to the specified value.

Method Detail

getValues

public java.util.List<org.opengis.util.Record> getValues()
Quantitative value or values, content determined by the evaluation procedure used.

Specified by:
getValues in interface org.opengis.metadata.quality.QuantitativeResult

setValues

public void setValues(java.util.List<org.opengis.util.Record> newValues)
Set the quantitative value or values, content determined by the evaluation procedure used.

Since:
2.4

setValues

public void setValues(double[] newValues)
Set the quantitative value or values, content determined by the evaluation procedure used.


getValueType

public org.opengis.util.RecordType getValueType()
Value type for reporting a data quality result, or null if none.

Specified by:
getValueType in interface org.opengis.metadata.quality.QuantitativeResult

setValueType

public void setValueType(org.opengis.util.RecordType newValue)
Set the value type for reporting a data quality result, or null if none.


getValueUnit

public javax.measure.unit.Unit getValueUnit()
Value unit for reporting a data quality result, or null if none.

Specified by:
getValueUnit in interface org.opengis.metadata.quality.QuantitativeResult

setValueUnit

public void setValueUnit(javax.measure.unit.Unit newValue)
Set the value unit for reporting a data quality result, or null if none.


getErrorStatistic

public org.opengis.util.InternationalString getErrorStatistic()
Statistical method used to determine the value, or null if none.

Specified by:
getErrorStatistic in interface org.opengis.metadata.quality.QuantitativeResult

setErrorStatistic

public void setErrorStatistic(org.opengis.util.InternationalString newValue)
Set the statistical method used to determine the value, or null if none.



Copyright © 1996-2010 Geotools. All Rights Reserved.