com.microstrategy.web.objects.WebMDXDisplayUnit |
![]() |
The WebMDXDisplayUnit interface represents an MDX display unit - either an MDX source, catalog, cube, dimension, hierarchy, attribute, or metric. The type can be determined by calling getDisplayUnitType. It contains common methods for all types of MDX display unit.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract WebMDXDisplayUnit |
getParent()
Returns the parent object of the display unit.
| ||||||||||
abstract String |
getPathComponent()
Returns this unit's path fragment in overall path.
| ||||||||||
abstract WebObjectInfo |
getSourceObject()
Returns the source object of the display unit.
| ||||||||||
abstract boolean |
isContainer()
Returns whether the display unit is a container - if this is true, then this
object contains child objects when getChildUnits is called, otherwise, it is not
possible for this object to be a container.
| ||||||||||
abstract boolean |
isPrunable()
Returns whether it is allowable for the GUI to prune this object from the hierarchy.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns the parent object of the display unit. This will be null for top-level display units, such as the MDXSource. The cube's parent will be null if the cube was obtained from the source or report instance, but if the cube was obtained from the catalog, it will be non-null.
WebMDXDisplayUnit
, if one exists.
Returns this unit's path fragment in overall path. This method will return empty string for all units except Metric Folders.
Returns the source object of the display unit. This will return null for two objects: catalogs (which have no source object) and the metrics collection, whose source object is null.
Returns whether the display unit is a container - if this is true, then this object contains child objects when getChildUnits is called, otherwise, it is not possible for this object to be a container.
Returns whether it is allowable for the GUI to prune this object from the hierarchy. This is generally true for certain levels which only have a single child - in these cases, no information is lost by omitting them from the hierarchy.