public class DefaultQuantitativeResult extends AbstractResult implements QuantitativeResult
Defined in the sis-metadata module
identifiers, LOGGER
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<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.
|
castOrCopy
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public 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 QuantitativeResult
public void setValues(List<Record> newValues)
newValues
- The new values.public RecordType getValueType()
getValueType
in interface QuantitativeResult
null
.public void setValueType(RecordType newValue)
newValue
- The new value type.public Unit<?> getValueUnit()
getValueUnit
in interface QuantitativeResult
null
.public void setValueUnit(Unit<?> newValue)
newValue
- The new value unit.public InternationalString getErrorStatistic()
getErrorStatistic
in interface QuantitativeResult
null
.public void setErrorStatistic(InternationalString newValue)
null
if none.newValue
- The new error statistic.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.