Class QuantitativeResultImpl
Object
AbstractMetadata
ModifiableMetadata
MetadataEntity
QuantitativeResultImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,QuantitativeResult
,Result
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:
-
Field Summary
Fields inherited from class AbstractMetadata
LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an initially empty quantitative result.QuantitativeResultImpl
(double[] values) Constructs a quantitative result initialized to the specified value.Constructs a metadata entity initialized with the values from the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionStatistical method used to determine the value, ornull
if none.Quantitative value or values, content determined by the evaluation procedure used.Value type for reporting a data quality result, ornull
if none.Unit
Value unit for reporting a data quality result, ornull
if none.void
setErrorStatistic
(InternationalString newValue) Set the statistical method used to determine the value, ornull
if none.void
setValues
(double[] newValues) Set the quantitative value or values, content determined by the evaluation procedure used.void
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, ornull
if none.void
setValueUnit
(Unit newValue) Set the value unit for reporting a data quality result, ornull
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
-
Constructor Details
-
QuantitativeResultImpl
public QuantitativeResultImpl()Constructs an initially empty quantitative result. -
QuantitativeResultImpl
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 Details
-
getValues
Quantitative value or values, content determined by the evaluation procedure used.- Specified by:
getValues
in interfaceQuantitativeResult
- Returns:
- Quantitative value or values.
-
setValues
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
Value type for reporting a data quality result, ornull
if none.- Specified by:
getValueType
in interfaceQuantitativeResult
- Returns:
- Value type for reporting a data quality result, or
null
.
-
setValueType
Set the value type for reporting a data quality result, ornull
if none. -
getValueUnit
public Unit getValueUnit()Value unit for reporting a data quality result, ornull
if none.- Specified by:
getValueUnit
in interfaceQuantitativeResult
- Returns:
- Value unit for reporting a data quality result, or
null
.
-
setValueUnit
public void setValueUnit(Unit newValue) Set the value unit for reporting a data quality result, ornull
if none. -
getErrorStatistic
Statistical method used to determine the value, ornull
if none.- Specified by:
getErrorStatistic
in interfaceQuantitativeResult
- Returns:
- Statistical method used to determine the value, or
null
.
-
setErrorStatistic
Set the statistical method used to determine the value, ornull
if none.
-