Package com.onenetwork.platform.common.uom

Service and interface for converting between different units of measure.
  • Interface Summary 
    Interface Description
    UOMService
    Provides APIs for the conversion of unit-of-measure values.
  • Class Summary 
    Class Description
    HierEnumConversionConfig
    Config class for conversion of UOM defined in HierEnumConversionDef.
    HierEnumConversionData
    Data class for conversion of UOM defined in HierEnumConversionDef.
    Scope
    Scope identifies a context within which the UOM service converts values.
  • Exception Summary 
    Exception Description
    UndefinedConversionFactorException
    This RuntimeException is thrown when a client requests a UOM conversion from UOMService but a suitable conversion factor is not defined.