Uses of Class
com.sap.mdm.ids.UnitId

Packages that use UnitId
com.sap.mdm.ids Provides interfaces and classes for identifying MDM objects 
com.sap.mdm.schema Provides supporting interfaces and classes for the schema commands.  
com.sap.mdm.schema.fields Provides container classes for the fields supported by the MDM server.  
com.sap.mdm.util Provides basic utility classes 
com.sap.mdm.valuetypes Provides container interfaces and classes for repository item values 
com.sap.mdm.valuetypes.format   
 

Uses of UnitId in com.sap.mdm.ids
 

Fields in com.sap.mdm.ids declared as UnitId
static UnitId UnitId.NONE
          A unit of none.
 

Methods in com.sap.mdm.ids that return UnitId
 UnitId MeasurementValueId.getUnitId()
          Get unit ID value of measurement
 

Constructors in com.sap.mdm.ids with parameters of type UnitId
UnitId(UnitId that)
          Copy constructor
MeasurementValueId(double value, UnitId unitId)
           
 

Uses of UnitId in com.sap.mdm.schema
 

Methods in com.sap.mdm.schema that return UnitId
 UnitId[] DimensionsManager.getUnitIds(DimensionId dimensionId)
          Returns an array of unit IDs
 UnitId MeasurementProperties.getDefaultUnitId()
          Returns the default unit.
 UnitId UnitProperties.getId()
          Get unit ID
 

Methods in com.sap.mdm.schema with parameters of type UnitId
 UnitProperties DimensionsManager.getUnit(DimensionId dimensionId, UnitId unitId)
          Returns the properties of the specified unit
 UnitProperties Dimensions.getUnit(DimensionId dimensionId, UnitId unitId)
          Deprecated. Returns the unit properties.
 

Constructors in com.sap.mdm.schema with parameters of type UnitId
MeasurementProperties(DimensionId dimensionId, UnitId defaultUnitId, byte decimalPlaces, boolean displayedAsFraction)
          Constructs with the specified parameters.
 

Uses of UnitId in com.sap.mdm.schema.fields
 

Methods in com.sap.mdm.schema.fields that return UnitId
 UnitId MeasurementFieldProperties.getDefaultUnitId()
           
 

Methods in com.sap.mdm.schema.fields with parameters of type UnitId
 void MeasurementFieldProperties.setDefaultUnitId(UnitId defaultUnitId)
           
 

Uses of UnitId in com.sap.mdm.util
 

Methods in com.sap.mdm.util with parameters of type UnitId
static double MeasurementUtils.convertToUniversal(DimensionId dimensionId, UnitId unitIdFrom, double value, DimensionsManager dimensionManager)
          Convert measurement value to universal UOM value
static double MeasurementUtils.convertFromUniversal(DimensionId dimensionId, UnitId unitIdTo, double value, DimensionsManager dimensionManager)
          Convert measurement value from the universal UOM to the specified UOM
static double MeasurementUtils.convertMeasurementValue(DimensionId dimensionId, UnitId unitIdFrom, UnitId unitIdTo, double value, DimensionsManager dimensionManager)
          Convert measurement value from one UOM to another
 

Uses of UnitId in com.sap.mdm.valuetypes
 

Methods in com.sap.mdm.valuetypes that return UnitId
 UnitId MeasurementValue.getUnitId()
          Get unit ID value of measurement
 

Constructors in com.sap.mdm.valuetypes with parameters of type UnitId
MeasurementValue(double value, UnitId unitId)
          Constructor
 

Uses of UnitId in com.sap.mdm.valuetypes.format
 

Methods in com.sap.mdm.valuetypes.format that return UnitId
 UnitId MdmMeasurementFormatInfo.getUnitIdFrom()
          Returns the ID of source UOM
 UnitId MdmMeasurementFormatInfo.getUnitIdTo()
          Returns the ID of destination UOM
 

Methods in com.sap.mdm.valuetypes.format with parameters of type UnitId
 void MdmMeasurementFormatInfo.setUnitIdFrom(UnitId unitIdFrom)
          Sets the ID of source UOM
 void MdmMeasurementFormatInfo.setUnitIdTo(UnitId unitIdTo)
          Sets the ID of destination UOM
 



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.