| 包 | mx.olap |
| 类 | public class OLAPDimension |
| 继承 | OLAPDimension OLAPElement Proxy Object |
| 实现 | IOLAPDimension |
隐藏 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
另请参见
| 属性 | 定义方 | ||
|---|---|---|---|
| attributes : IList 此维度的属性,作为 OLAPAttribute 实例列表。 | OLAPDimension | ||
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
| cube : IOLAPCube 此维度所属的多维数据集。 | OLAPDimension | ||
| defaultMember : IOLAPMember [只读 (read-only)] 此维度的默认成员。 | OLAPDimension | ||
![]() | displayName : String OLAP 元素的名称,可作为 String 显示。 | OLAPElement | |
| elements : Array [只写] 处理输入数组,并根据该数组的元素初始化属性和层次结构属性。 | OLAPDimension | ||
| hierarchies : IList 此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。 | OLAPDimension | ||
| isMeasure : Boolean [只读 (read-only)] 如果此为保留所有测量成员的测量维度,则包含 true。 | OLAPDimension | ||
| members : IList [只读 (read-only)] 返回此维度的所有成员,作为 IOLAPMember 实例列表。 | OLAPDimension | ||
![]() | name : String OLAP 元素的名称,包含该元素的 OLAP 架构层次结构。 | OLAPElement | |
![]() | prototype : Object [静态]
对类或函数对象的原型对象的引用。 | Object | |
![]() | uniqueName : String [只读 (read-only)] 多维数据集中 OLAP 元素的唯一名称。 | OLAPElement | |
| 方法 | 定义方 | ||
|---|---|---|---|
构造函数 | OLAPDimension | ||
返回具有维度中给定名称的属性。 | OLAPDimension | ||
返回具有维度中给定名称的层次结构。 | OLAPDimension | ||
返回具有维度中给定名称的成员。 | OLAPDimension | ||
![]() |
指示对象是否已经定义了指定的属性。 | Object | |
![]() |
指示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
指示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() | 返回该元素的唯一名称。 | OLAPElement | |
![]() |
返回指定对象的原始值。 | 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。 |