/** * Sets the value unit for reporting a data quality result. * * @param newValue the new value unit. */ public void setValueUnit(final Unit<?> newValue) { checkWritePermission(valueUnit); valueUnit = newValue; }
/** * Sets the statistical method used to determine the value, or {@code null} if none. * * @param newValue the new error statistic. */ public void setErrorStatistic(final InternationalString newValue) { checkWritePermission(errorStatistic); errorStatistic = newValue; } }
/** * Sets the statistical method used to determine the value, or {@code null} if none. * * @param newValue the new error statistic. */ public void setErrorStatistic(final InternationalString newValue) { checkWritePermission(); errorStatistic = newValue; } }
/** * Sets the value type for reporting a data quality result. * A {@code null} value restores the default value documented in {@link #getValueType()}. * * @param newValue the new value type. */ public void setValueType(final RecordType newValue) { checkWritePermission(); valueType = newValue; }
/** * Sets the value unit for reporting a data quality result. * * @param newValue the new value unit. */ public void setValueUnit(final Unit<?> newValue) { checkWritePermission(); valueUnit = newValue; }
/** * Sets the value type for reporting a data quality result. * A {@code null} value restores the default value documented in {@link #getValueType()}. * * @param newValue the new value type. */ public void setValueType(final RecordType newValue) { checkWritePermission(valueType); valueType = newValue; }