Class MeasurementValueConfiguration

  • All Implemented Interfaces:

    
    public class MeasurementValueConfiguration
    extends ScaleAndPrecision
                        

    Configures a measurement value and consists of a Scale, MeasurementPrecision, and a name for this configuration. These properties describe how the actual measurement value is calculated and formatted for the measurement annotations. The name property is just to have the option to display a user-friendly name in the UI, it has no further use. If we ever check for duplicates, or try to find a specific MeasurementValueConfiguration in the document's configuration list, only `scale` and `precision` matter. That being said, the combination of `scale` and `precision` needs to be unique - you cannot have two MeasurementValueConfigurations in the document with same scale and precision. The name can be null, in that case the UI shows generated name.