Packagemx.olap
Classpublic class OLAPLevel
InheritanceOLAPLevel Inheritance OLAPElement Inheritance flash.utils.Proxy
Implements IOLAPLevel

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The OLAPLevel class represents a level in an OLAP cube.

MXML SyntaxexpandedHide 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

mx.olap.IOLAPLevel


Public Properties
 PropertyDefined 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
  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
 Inheriteddimension : IOLAPDimension
The dimension to which this element belongs.
OLAPElement
 InheriteddisplayName : 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
  uniqueName : String
[override] [read-only] The unique name of the OLAP element in the cube.
OLAPLevel
Public Methods
 MethodDefined By
  
OLAPLevel(name:String = null, displayName:String = null)
Constructor
OLAPLevel
  
findMember(name:String):IList
Returns the members with the given name within the hierarchy.
OLAPLevel
 Inherited
toString():String
Returns the unique name of the element.
OLAPElement
Property Detail
attributeproperty
attribute:OLAPAttribute  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The attribute connected to this level, as an instance of OLAPAttribute.


Implementation
    public function get attribute():OLAPAttribute
attributeNameproperty 
attributeName:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

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.


Implementation
    public function get attributeName():String
    public function set attributeName(value:String):void
childproperty 
child:IOLAPLevel  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The next child level in the hierarchy.


Implementation
    public function get child():IOLAPLevel
dataFieldproperty 
dataField:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The field of the input data set that provides the data for this OLAPLevel instance.


Implementation
    public function get dataField():String
depthproperty 
depth:int  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The depth of the level in the hierarchy of the dimension.


Implementation
    public function get depth():int
hierarchyproperty 
hierarchy:IOLAPHierarchy

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The hierarchy of the dimension to which this level belongs.


Implementation
    public function get hierarchy():IOLAPHierarchy
    public function set hierarchy(value:IOLAPHierarchy):void
membersproperty 
members:IList  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

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.


Implementation
    public function get members():IList
nameproperty 
name:String[override]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

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.


Implementation
    public function get name():String
    public function set name(value:String):void
parentproperty 
parent:IOLAPLevel  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The parent level of this level, or null if this level is not nested in another level.


Implementation
    public function get parent():IOLAPLevel
uniqueNameproperty 
uniqueName:String  [read-only] [override]

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

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.


Implementation
    public function get uniqueName():String
Constructor Detail
OLAPLevel()Constructor
public function OLAPLevel(name:String = null, displayName:String = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructor

Parameters
name: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.
Method Detail
findMember()method
public function findMember(name:String):IList

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Returns the members with the given name within the hierarchy.

Parameters

name:String — The name of the member.

Returns
IList — A list of IOLAPMember instances representing the members, or null if a member is not found.