|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractMetadata
ModifiableMetadata
MetadataEntity
AbstractResult
DefaultQuantitativeResult
@ThreadSafe public class DefaultQuantitativeResult
Information about the value (or set of values) obtained from applying a data quality measure.
| metadata/geotk-metadata (download) | View source code for this class |
| Field Summary |
|---|
| Fields inherited from class MetadataEntity |
|---|
identifiers |
| Fields inherited from class AbstractMetadata |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
DefaultQuantitativeResult()
Constructs an initially empty quantitative result. |
|
DefaultQuantitativeResult(double[] values)
Constructs a quantitative result initialized to the specified value. |
|
DefaultQuantitativeResult(QuantitativeResult source)
Constructs a metadata entity initialized with the values from the specified metadata. |
|
| Method Summary | |
|---|---|
static DefaultQuantitativeResult |
castOrCopy(QuantitativeResult object)
Returns a Geotk metadata implementation with the same values than the given arbitrary implementation. |
InternationalString |
getErrorStatistic()
Returns the statistical method used to determine the value, or null if none. |
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, or null if none. |
Unit<?> |
getValueUnit()
Returns the value unit for reporting a data quality result, or null if none. |
void |
setErrorStatistic(InternationalString newValue)
Sets the statistical method used to determine the value, or null if none. |
void |
setValues(double[] newValues)
Sets the quantitative value or values, content determined by the evaluation procedure used. |
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, or null if none. |
void |
setValueUnit(Unit<?> newValue)
Sets the value unit for reporting a data quality result, or null if none. |
| Methods inherited from class AbstractResult |
|---|
castOrCopy |
| Methods inherited from class MetadataEntity |
|---|
getIdentifier, getIdentifierMap, getIdentifiers, getStandard |
| Methods inherited from class ModifiableMetadata |
|---|
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, prune, unmodifiable |
| Methods inherited from class AbstractMetadata |
|---|
asMap, asTree, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, parse, toString |
| Methods inherited from class Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultQuantitativeResult()
public DefaultQuantitativeResult(QuantitativeResult source)
source - The metadata to copy, or null if none.public DefaultQuantitativeResult(double[] values)
values - The quantitative values.| Method Detail |
|---|
public static DefaultQuantitativeResult castOrCopy(QuantitativeResult object)
null, then this method returns null.
Otherwise if the given object is already a Geotk implementation, then the given object is
returned unchanged. Otherwise a new Geotk implementation is created and initialized to the
attribute values of the given object, using a shallow copy operation
(i.e. attributes are not cloned).
object - The object to get as a Geotk implementation, or null if none.
null if the argument was null.public List<Record> getValues()
getValues in interface QuantitativeResultRecord. The one in this class is deprecated.public void setValues(List<Record> newValues)
newValues - The new values.public void setValues(double[] newValues)
newValues - The new values.public RecordType getValueType()
null if none.
getValueType in interface QuantitativeResultpublic void setValueType(RecordType newValue)
null if none.
newValue - The new value type.public Unit<?> getValueUnit()
null if none.
getValueUnit in interface QuantitativeResultpublic void setValueUnit(Unit<?> newValue)
null if none.
newValue - The new value unit.public InternationalString getErrorStatistic()
null if none.
getErrorStatistic in interface QuantitativeResultpublic void setErrorStatistic(InternationalString newValue)
null if none.
newValue - The new error statistic.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||