| Package | mx.olap |
| Class | public class OLAPLevel |
| Inheritance | OLAPLevel OLAPElement Proxy Object |
| Implements | IOLAPLevel |
Hide MXML Syntax
The <mx:OLAPLevel> tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPLevel
Properties
attributeName=""
/>
See also
| Property | Defined By | ||
|---|---|---|---|
| attribute : OLAPAttribute [read-only]
The attribute connected to this level, as an instance of OLAPAttribute. | OLAPLevel | ||
| attributeName : String
The name of the attribute to be used at this level. | OLAPLevel | ||
| child : IOLAPLevel [read-only]
The next child level in the hierarchy. | OLAPLevel | ||
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
| dataField : String [read-only]
The field of the input data set
that provides the data for this OLAPLevel instance. | OLAPLevel | ||
| depth : int [read-only]
The depth of the level in the hierarchy of the dimension. | OLAPLevel | ||
![]() | 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 | |
| hierarchy : IOLAPHierarchy
The hierarchy of the dimension to which this level belongs. | OLAPLevel | ||
| members : IList [read-only]
The members of this level, as a list of IOLAPMember instances,
or null if a member is not found. | OLAPLevel | ||
| name : String [override]
The value of the name property of the
OLAPAttribute instance associated with this OLAPLevel instance. | OLAPLevel | ||
| parent : IOLAPLevel [read-only]
The parent level of this level, or null if this level is not nested in another level. | OLAPLevel | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
| uniqueName : String [override] [read-only]
The unique name of the OLAP element in the cube. | OLAPLevel | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor
| OLAPLevel | ||
Returns the members with the given name within the hierarchy. | OLAPLevel | ||
![]() |
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 string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the unique name of the element. | OLAPElement | |
![]() |
Returns the primitive value of the specified object. | Object | |
| attribute | property |
attribute:OLAPAttribute [read-only] The attribute connected to this level, as an instance of OLAPAttribute.
public function get attribute():OLAPAttribute| attributeName | property |
attributeName:String
The name of the attribute to be used at this level.
The value of this property corresponds to the value of the
OLAPAttribute.name property for the corresponding attribute.
public function get attributeName():String public function set attributeName(value:String):void| child | property |
child:IOLAPLevel [read-only] The next child level in the hierarchy.
public function get child():IOLAPLevel| dataField | property |
dataField:String [read-only] The field of the input data set that provides the data for this OLAPLevel instance.
public function get dataField():String| depth | property |
depth:int [read-only] The depth of the level in the hierarchy of the dimension.
public function get depth():int| hierarchy | property |
hierarchy:IOLAPHierarchyThe hierarchy of the dimension to which this level belongs.
public function get hierarchy():IOLAPHierarchy public function set hierarchy(value:IOLAPHierarchy):void| members | property |
members:IList [read-only] The members of this level, as a list of IOLAPMember instances, or null if a member is not found. The list might represent remote data and therefore can throw an ItemPendingError.
public function get members():IList| name | property |
name:String[override]
The value of the name property of the
OLAPAttribute instance associated with this OLAPLevel instance.
Even though this property is writable, its value is determned by the OLAPAttribute instance
associated with the level and cannot be set.
override public function get name():String override public function set name(value:String):void| parent | property |
parent:IOLAPLevel [read-only] The parent level of this level, or null if this level is not nested in another level.
public function get parent():IOLAPLevel| uniqueName | property |
uniqueName:String [read-only] [override] The unique name of the OLAP element in the cube. For example, "[Time][Year][2007]" is a unique name, where 2007 is the element name belonging to the "Year" level of the "Time" dimension.
override public function get uniqueName():String| OLAPLevel | () | Constructor |
public function OLAPLevel(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.
For example, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
| |
displayName:String (default = null) — The name of the OLAP level, as a String, which can be used for display.
|
| findMember | () | method |
public function findMember(name:String):IListReturns the members with the given name within the hierarchy.
Parameters
name:String — The name of the member.
|
IList — A list of IOLAPMember instances representing the members,
or null if a member is not found.
|