Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.report.model.api.util
Class CubeUtil

    java.lang.Object
      org.eclipse.birt.report.model.api.util.CubeUtil

    public class CubeUtil

extends java.lang.Object

Utility class to provide some methods about cube.

Constructor Summary
`CubeUtil()`

Method Summary
`static java.lang.String` | `getFullLevelName(java.lang.String dimensionName, java.lang.String levelName)` Gets the full name of the level element.
`static java.lang.String[]` | `splitLevelName(java.lang.String levelName)` Splits a full name of the level element to a `String` array of length 2.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CubeUtil

    public CubeUtil()

Method Detail

### splitLevelName

    public static java.lang.String[] splitLevelName(java.lang.String levelName)

  Splits a full name of the level element to a `String` array of length 2. The first member of the array is the name of the dimension element and the second is the name of the level element.

  Parameters:
    `levelName` -
  Returns:
    an string array.

### getFullLevelName

    public static java.lang.String getFullLevelName(java.lang.String dimensionName,
                                                    java.lang.String levelName)

  Gets the full name of the level element.

  Parameters:
    `dimensionName` - the dimension name
    `levelName` - the short level name
  Returns:
    the full level name

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.