com.sap.mdm.schema
Interface DimensionsManager


public interface DimensionsManager

Represents the metadata of units of measure and dimensions that group these units; for example, the �?Length�? dimension groups such units as �?meter�?, �?centimeter�? and �?inch�?. Interface of dimensions manager giving the set of method for exploring dimensions and units of measure.


Method Summary
 DimensionProperties getDimension(DimensionId dimensionId)
          Returns the properties of the specified dimension
 DimensionProperties getDimension(String dimensionName)
          Returns the properties of the specified dimension
 DimensionId[] getDimensionIds()
          Returns an array of dimension IDs
 String[] getDimensionNames()
          Returns an array of dimension names
 UnitProperties getUnit(DimensionId dimensionId, UnitId unitId)
          Returns the properties of the specified unit
 UnitProperties getUnit(String dimensionName, String unitName)
          Returns the properties of the specified unit
 UnitId[] getUnitIds(DimensionId dimensionId)
          Returns an array of unit IDs
 String[] getUnitNames(String dimensionName)
          Returns an array of unit names
 

Method Detail

getDimensionIds

public DimensionId[] getDimensionIds()
Returns an array of dimension IDs

Returns:
an array of dimension IDs

getDimensionNames

public String[] getDimensionNames()
Returns an array of dimension names

Returns:
an array of dimension names
Since:
7.1.08

getDimension

public DimensionProperties getDimension(DimensionId dimensionId)
Returns the properties of the specified dimension

Parameters:
dimensionId - the dimension ID.
Returns:
the dimension properties or null if the dimension with the specified ID does not exist

getDimension

public DimensionProperties getDimension(String dimensionName)
Returns the properties of the specified dimension

Parameters:
dimensionName - the dimension name
Returns:
the dimension properties or null if the dimension with the specified name does not exist
Since:
7.1.08

getUnitIds

public UnitId[] getUnitIds(DimensionId dimensionId)
Returns an array of unit IDs

Parameters:
dimensionId - the ID of the dimension to which the units belong
Returns:
an array of unit IDs or null if the dimension with the specified ID does not exist

getUnitNames

public String[] getUnitNames(String dimensionName)
Returns an array of unit names

Parameters:
dimensionName - the name of the dimension to which the units belong
Returns:
an array of unit names or null if the dimension with the specified name does not exist
Since:
7.1.08

getUnit

public UnitProperties getUnit(DimensionId dimensionId,
                              UnitId unitId)
Returns the properties of the specified unit

Parameters:
dimensionId - the dimension ID
unitId - the unit ID
Returns:
the unit properties or null if the specified dimension or unit does not exist

getUnit

public UnitProperties getUnit(String dimensionName,
                              String unitName)
Returns the properties of the specified unit

Parameters:
dimensionName - the dimension name
unitName - the unit name
Returns:
the unit properties or null if the specified dimension or unit does not exist
Since:
7.1.08


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.