A framework for quantities, according to the pattern described by Martin Fowler:
Initialy the framework supports Money and Temperature, but we keep all options open....
There are three possible ways of using this framework:
1. Hardcode the quantities and the conversions. Do this if you have few and known quantities
2. Hardcode the quantities and make dymanic conversion (ie. from configuration or webservices) Do this if you have few known quanties but with changing conversion like in ie. money.
3. Make quantities and conversions dynamic. This is a good idea when you have lots of quantities and conversion, since hardcoding ie. 100 quantities will be too much. And if you wish to add one extra, you will not have to go into code, if you make it dynamic.