| Package | mx.olap |
| Class | public class OLAPHierarchy |
| Inheritance | OLAPHierarchy OLAPElement Proxy Object |
| Implements | IOLAPHierarchy |
| Subclasses | OLAPAttribute |
Hide MXML Syntax
The <mx:OLAPHierarchy> tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPHierarchy
Properties
allMemberName="(All)"
elements="An array of Levels of this hierarchy"
hasAll="true|false"
name="No default"
/>
Default MXML Propertyelements
See also
| Property | Defined By | ||
|---|---|---|---|
| allMemberName : String
The name of the all member of the hierarchy.
| OLAPHierarchy | ||
| children : IList
[read-only]
The children of the all member, as a list of IOLAPMember instances.
| OLAPHierarchy | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
| defaultMember : IOLAPMember
[read-only]
The default member of the hierarchy.
| OLAPHierarchy | ||
![]() | dimension : IOLAPDimension
The dimension to which this element belongs.
| OLAPElement | |
![]() | displayName : String
The name of the OLAP element, as a String, which can be used for display.
| OLAPElement | |
| elements : Array
[write-only]
An Array of the levels of the hierarchy, as OLAPLevel instances.
| OLAPHierarchy | ||
| hasAll : Boolean
Specifies whether the hierarchy has an all member, true,
or not, false.
| OLAPHierarchy | ||
| levels : IList
All the levels of this hierarchy, as a list of IOLAPLevel instances.
| OLAPHierarchy | ||
| members : IList
[read-only]
All members of all the levels that belong to this hierarchy,
as a list of IOLAPMember instances.
| OLAPHierarchy | ||
| name : String
User defined name of this hierarchy.
| OLAPHierarchy | ||
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
![]() | uniqueName : String
[read-only]
The unique name of the OLAP element in the cube.
| OLAPElement | |
| Method | Defined By | ||
|---|---|---|---|
|
Constructor
| OLAPHierarchy | ||
|
Returns the level with the given name within the hierarchy.
| OLAPHierarchy | ||
|
Returns the member with the given name within the hierarchy.
| OLAPHierarchy | ||
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Returns the unique name of the element.
| OLAPElement | |
![]() |
Returns the primitive value of the specified object.
| Object | |
| allMemberName | property |
allMemberName:String [read-write]
The name of the all member of the hierarchy.
The default value is "(All)".
public function get allMemberName():String
public function set allMemberName(value:String):void
| children | property |
children:IList [read-only]
The children of the all member, as a list of IOLAPMember instances.
public function get children():IList
| defaultMember | property |
defaultMember:IOLAPMember [read-only]
The default member of the hierarchy. The default member is used if the hierarchy is used where a member is expected.
public function get defaultMember():IOLAPMember
| elements | property |
elements:Array [write-only] An Array of the levels of the hierarchy, as OLAPLevel instances.
public function set elements(value:Array):void
| hasAll | property |
hasAll:Boolean [read-write]
Specifies whether the hierarchy has an all member, true,
or not, false. If true, the all member name
is as specified by the allMemberName property.
The default value is true.
public function get hasAll():Boolean
public function set hasAll(value:Boolean):void
| levels | property |
levels:IList [read-write]
All the levels of this hierarchy, as a list of IOLAPLevel instances. The returned list might represent remote data and therefore can throw an ItemPendingError.
public function get levels():IList
public function set levels(value:IList):void
| members | property |
members:IList [read-only]
All members of all the levels that belong to this hierarchy, as a list of IOLAPMember instances. The returned list might represent remote data and therefore can throw an ItemPendingError.
public function get members():IList
| name | property |
name:String [read-write] User defined name of this hierarchy. If user has not set a explicit name then the dimension name is returned.
public function get name():String
public function set name(value:String):void
| OLAPHierarchy | () | Constructor |
public function OLAPHierarchy(name:String = null, displayName:String = null)
Constructor
Parametersname:String (default = null) — The name of the OLAP level that includes the OLAP schema hierarchy of the element.
|
|
displayName:String (default = null) — The name of the OLAP level, as a String, which can be used for display.
|
| findLevel | () | method |
public function findLevel(name:String):IOLAPLevel
Returns the level with the given name within the hierarchy.
Parameters
name:String — The name of the level.
|
IOLAPLevel — An IOLAPLevel instance representing the level,
or null if a level is not found.
|
| findMember | () | method |
public function findMember(name:String):IOLAPMember
Returns the member with the given name within the hierarchy.
Parameters
name:String — The name of the member.
|
IOLAPMember — An IOLAPMember instance representing the member,
or null if a member is not found.
|