org.geotools.metadata.iso.quality
Class QuantitativeResultImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by ResultImpl
                  extended by QuantitativeResultImpl
All Implemented Interfaces:
Serializable, Cloneable, QuantitativeResult, Result

public class QuantitativeResultImpl
extends ResultImpl
implements QuantitativeResult

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

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

QuantitativeResultImpl

public QuantitativeResultImpl()
Constructs an initially empty quantitative result.


QuantitativeResultImpl

public QuantitativeResultImpl(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 List<Record> getValues()
Quantitative value or values, content determined by the evaluation procedure used.

Specified by:
getValues in interface QuantitativeResult

setValues

public void setValues(List<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 RecordType getValueType()
Value type for reporting a data quality result, or null if none.

Specified by:
getValueType in interface QuantitativeResult

setValueType

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


getValueUnit

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

Specified by:
getValueUnit in interface QuantitativeResult

setValueUnit

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


getErrorStatistic

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

Specified by:
getErrorStatistic in interface QuantitativeResult

setErrorStatistic

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



Copyright © 1996-2010 Geotools. All Rights Reserved.