(仅� Flex 数��视化组件)
包mx.olap
ç±»public class OLAPDimension
继承OLAPDimension Inheritance OLAPElement Inheritance Proxy Inheritance Object
实现 IOLAPDimension

OLAPDimension 类表示 OLAP 多维数�集的维度。

MXML 语法expanded�� MXML 语法

The <mx:OLAPDimension> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:

  <mx:OLAPDimension
    Properties
    attributes=""
    elements=""
    hierarchies=""
   />
   

默认 MXML 属性elements

�请��

mx.olap.IOLAPDimension
Creating an OLAP schema
Creating an OLAP schema


公共属性
 å±žæ€§å®šä¹‰æ–¹
  attributes : IList
此维度的属性,作为 OLAPAttribute 实例列表。
OLAPDimension
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
  cube : IOLAPCube
此维度所属的多维数�集。
OLAPDimension
  defaultMember : IOLAPMember
[�读 (read-only)] 此维度的默认�员。
OLAPDimension
 InheriteddisplayName : String
OLAP 元素的�称,�作为 String 显示。
OLAPElement
  elements : Array
[�写] 处�输入数组,并根�该数组的元素�始化属性和层次结构属性。
OLAPDimension
  hierarchies : IList
此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。
OLAPDimension
  isMeasure : Boolean
[�读 (read-only)] 如果此为�留所有测��员的测�维度,则包� true。
OLAPDimension
  members : IList
[�读 (read-only)] 返回此维度的所有�员,作为 IOLAPMember 实例列表。
OLAPDimension
 Inheritedname : String
OLAP 元素的�称,包�该元素的 OLAP 架构层次结构。
OLAPElement
 Inheritedprototype : Object
[��] 对类或函数对象的原型对象的引用。
Object
 InheriteduniqueName : String
[�读 (read-only)] 多维数�集中 OLAP 元素的唯一�称。
OLAPElement
公共方法
 æ–¹æ³•定义方
  
OLAPDimension(name:String = null, displayName:String = null)
构造函数
OLAPDimension
  
返回具有维度中给定�称的属性。
OLAPDimension
  
返回具有维度中给定�称的层次结构。
OLAPDimension
  
返回具有维度中给定�称的�员。
OLAPDimension
 Inherited
指示对象是�已�定义了指定的属性。
Object
 Inherited
指示 Object 类的实例是�在指定为�数的对象的原型链中。
Object
 Inherited
指示指定的属性是�存在�是��枚举。
Object
 Inherited
设置循环�作动�属性的�用性。
Object
 Inherited
返回该元素的唯一�称。
OLAPElement
 Inherited
返回指定对象的原始值。
Object
属性详细信�
attributes属性
attributes:IList  [读写]

此维度的属性,作为 OLAPAttribute 实例列表。



实现
    public function get attributes():IList
    public function set attributes(value:IList):void
cube属性 
cube:IOLAPCube  [读写]

此维度所属的多维数�集。



实现
    public function get cube():IOLAPCube
    public function set cube(value:IOLAPCube):void
defaultMember属性 
defaultMember:IOLAPMember  [å�ªè¯» (read-only)]

此维度的默认�员。



实现
    public function get defaultMember():IOLAPMember
elements属性 
elements:Array  [å�ªå†™]

处�输入数组,并根�数组元素�始化 attributes 和 hierarchies 属性。属性由 OLAPAttribute 类的实例在数组中表示,层次结构由 OLAPHierarchy 类的实例表示。

使用此属性定义�个数组中多维数�集的属性和层次结构。



实现
    public function set elements(value:Array):void
hierarchies属性 
hierarchies:IList  [读写]

此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。



实现
    public function get hierarchies():IList
    public function set hierarchies(value:IList):void
isMeasure属性 
isMeasure:Boolean  [å�ªè¯» (read-only)]

如果此为�留所有测��员的测�维度,则包� true。



实现
    public function get isMeasure():Boolean
members属性 
members:IList  [å�ªè¯» (read-only)]

返回此维度的所有�员,作为 IOLAPMember 实例列表。返回的列表�能表示远程数�,因此�以引� ItemPendingError。



实现
    public function get members():IList
构造函数详细信�
OLAPDimension()构造函数
public function OLAPDimension(name:String = null, displayName:String = null)

构造函数

�数
name:String (default = null) — 包括元素的 OLAP 架构层次结构的 OLAP 维度的å��称。
 
displayName:String (default = null) — OLAP 维度的å��称,å�¯ä»¥ä½œä¸º String 显示。
方法详细信�
findAttribute()方法
public function findAttribute(name:String):IOLAPAttribute

返回具有维度中给定�称的属性。

�数

name:String — 属性的å��称。

返回
IOLAPAttribute — IOLAPAttribute 实例,用于表示属性,或者如果未找到属性则为 null。
findHierarchy()方法 
public function findHierarchy(name:String):IOLAPHierarchy

返回具有维度中给定�称的层次结构。

�数

name:String — 层次结构的å��称。

返回
IOLAPHierarchy — IOLAPHierarchy 实例,表示层次结构,或者如果未找到层次结构则为 null。
findMember()方法 
public function findMember(name:String):IOLAPMember

返回具有维度中给定�称的�员。

�数

name:String — 该æˆ�员的å��称。

返回
IOLAPMember — IOLAPMember 实例,表示æˆ�员,或者如果未找到æˆ�员则为 null。