|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.util.MeasurementUtils
| Constructor Summary | |
MeasurementUtils()
|
|
| Method Summary | |
static double |
convertFromUniversal(DimensionId dimensionId,
UnitId unitIdTo,
double value,
DimensionsManager dimensionManager)
Convert measurement value from the universal UOM to the specified UOM |
static double |
convertMeasurementValue(DimensionId dimensionId,
UnitId unitIdFrom,
UnitId unitIdTo,
double value,
DimensionsManager dimensionManager)
Convert measurement value from one UOM to another |
static double |
convertToUniversal(DimensionId dimensionId,
UnitId unitIdFrom,
double value,
DimensionsManager dimensionManager)
Convert measurement value to universal UOM value |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MeasurementUtils()
| Method Detail |
public static double convertToUniversal(DimensionId dimensionId,
UnitId unitIdFrom,
double value,
DimensionsManager dimensionManager)
dimensionId - ID of dimensionunitIdFrom - ID of the current UOMvalue - the current value of the measurementdimensionManager - the DimensionManager instance.
If Null then only build-in dimensions will be used.
public static double convertFromUniversal(DimensionId dimensionId,
UnitId unitIdTo,
double value,
DimensionsManager dimensionManager)
dimensionId - ID of dimensionunitIdTo - ID of the desired UOMvalue - the value of measurement in universal UOMdimensionManager - the DimensionManager instance.
If Null then only build-in dimensions will be used.
public static double convertMeasurementValue(DimensionId dimensionId,
UnitId unitIdFrom,
UnitId unitIdTo,
double value,
DimensionsManager dimensionManager)
dimensionId - ID of dimensionunitIdFrom - ID of the current UOMunitIdTo - ID of the desired UOMvalue - the value of measurement in the current UOMdimensionManager - the DimensionManager instance.
If Null then only build-in dimensions will be used.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2004-2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.