public class DefaultQuantitativeResult extends AbstractResult implements QuantitativeResult
DQ_QuantitativeResult
├─valueUnit…………………… Value unit for reporting a data quality result.
└─value……………………………… Quantitative value or values, content determined by the evaluation procedure used.Limitations:
XML instead.Defined in the sis-metadata module
identifiers| Constructor and Description |
|---|
DefaultQuantitativeResult()
Constructs an initially empty quantitative result.
|
DefaultQuantitativeResult(QuantitativeResult object)
Constructs a new instance initialized with the values from the specified metadata object.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultQuantitativeResult |
castOrCopy(QuantitativeResult object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getErrorStatistic()
Returns the statistical method used to determine the value.
|
List<Record> |
getValues()
Returns the quantitative value or values, content determined by the evaluation procedure used.
|
RecordType |
getValueType()
Return the value type for reporting a data quality result.
|
Unit<?> |
getValueUnit()
Returns the value unit for reporting a data quality result.
|
void |
setErrorStatistic(InternationalString newValue)
Sets the statistical method used to determine the value, or
null if none. |
void |
setValues(List<? extends Record> newValues)
Sets the quantitative value or values, content determined by the evaluation procedure used.
|
void |
setValueType(RecordType newValue)
Sets the value type for reporting a data quality result.
|
void |
setValueUnit(Unit<?> newValue)
Sets the value unit for reporting a data quality result.
|
castOrCopyfreeze, getIdentifierMap, getIdentifiers, getStandardcheckWritePermission, clone, collectionType, copyCollection, copyList, copySet, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSetasMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toStringpublic DefaultQuantitativeResult()
public DefaultQuantitativeResult(QuantitativeResult object)
object - the metadata to copy values from, or null if none.castOrCopy(QuantitativeResult)public static DefaultQuantitativeResult castOrCopy(QuantitativeResult object)
null, then this method returns null.DefaultQuantitativeResult, then it is returned unchanged.DefaultQuantitativeResult instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object - the object to get as a SIS implementation, or null if none.null if the argument was null.public List<Record> getValues()
getValues in interface QuantitativeResultpublic void setValues(List<? extends Record> newValues)
newValues - the new values.public RecordType getValueType()
null.getValueType in interface QuantitativeResultnull.public void setValueType(RecordType newValue)
null value restores the default value documented in getValueType().newValue - the new value type.public Unit<?> getValueUnit()
getValueUnit in interface QuantitativeResultnull.public void setValueUnit(Unit<?> newValue)
newValue - the new value unit.public InternationalString getErrorStatistic()
getErrorStatistic in interface QuantitativeResultnull.public void setErrorStatistic(InternationalString newValue)
null if none.newValue - the new error statistic.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.