Style Intelligence v12.0

inetsoft.uql
Interface XDimension

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
ERMDateDimension, ERMDimension

public interface XDimension
extends Cloneable, Serializable

An XDimension represents a dimension in an OLAP cube. A dimension contains an order list of levels. The level with the lowest index is that with the widest scope.

Since:
10.1

Method Summary
 XCubeMember getLevelAt(int idx)
          Get the specified level.
 int getLevelCount()
          Get the number of levels in this dimension.
 String getName()
          Get the name of this dimension.
 int getScope(String levelName)
          Get the scope/level number of the level
 int getType()
          Get the type of this dimension.
 

Method Detail

getName

String getName()
Get the name of this dimension.

Returns:
the name of this dimension.

getLevelCount

int getLevelCount()
Get the number of levels in this dimension.

Returns:
the number of levels in this dimension.

getLevelAt

XCubeMember getLevelAt(int idx)
Get the specified level.

Parameters:
idx - the index of the requested level.
Returns:
specified level.
Throws:
ArrayIndexOutOfBoundsException - if the index is outside the range of levels contained in this dimension.

getScope

int getScope(String levelName)
Get the scope/level number of the level

Parameters:
levelName - level name

getType

int getType()
Get the type of this dimension.

Returns:
the type of this dimension.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.