Previous Topic

Next Topic

Book Contents

Book Index

Module Description

The Units of Measurement Framework provides a Java API for handling units, which are presented in a uniform manner,  allowing conversion of their values from one unit and scale to another.

 

Overview

The Units of Measurement Framework provides a set of Java language programming interfaces for handling and converting units, presented in a uniform manner.

The base entity is Quantity. It represents a value expressed as a number and measured in the given unit.

A "unit" is considered to be a real scalar quantity, defined and adopted by a convention. If two quantities of the same kind have to be compared, the unit is the number showing the ratio between them.

Each Quantity has:

An example is the Quantity for temperature – the quantity is temperature, the unit is Celsius or Kelvin and the system of units is SI or the unit can be Fahrenheit if the system of units is Imperial. The provided API allows conversion from one unit and scale to another.

Feature Set

The Units of Measurement Framework provides the following features and functionalities:

The Unit factory class com.prosyst.mbs.services.units.system.UnitFactory provides a simplified way for new Unit definitions.

Known Issues and Limitations

There are no known issues or limitations.

Module Dependencies

The module has dependencies on the following:

Licensing Information

Check Licensing Information.

Supported Systems of Units

Units Conversion supports the following measurement systems and their units: