| 包 | mx.olap |
| 类 | public class OLAPLevel |
| 继承 | OLAPLevel OLAPElement Proxy Object |
| 实现 | IOLAPLevel |
隐藏 MXML 语法
The <mx:OLAPLevel> tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPLevel
Properties
attributeName=""
/>
另请参见
| 属性 | 定义方 | ||
|---|---|---|---|
| attribute : OLAPAttribute [只读 (read-only)] 与此级别相连的属性,作为 OLAPAttribute 的实例。 | OLAPLevel | ||
| attributeName : String 要在此级别使用的属性名称。 | OLAPLevel | ||
| child : IOLAPLevel [只读 (read-only)] 层次结构中的下一个子层次。 | OLAPLevel | ||
![]() | constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | |
| dataField : String [只读 (read-only)] 为此 OLAPLevel 实例提供数据的输入数据集的字段。 | OLAPLevel | ||
| depth : int [只读 (read-only)] 维度层次结构中的层次深度。 | OLAPLevel | ||
![]() | dimension : IOLAPDimension 此元素所属的维度。 | OLAPElement | |
![]() | displayName : String OLAP 元素的名称,可作为 String 显示。 | OLAPElement | |
| hierarchy : IOLAPHierarchy 此层次所属维度的层次结构。 | OLAPLevel | ||
| members : IList [只读 (read-only)] 此层次的成员,如 IOLAPMember 实例列表,或者如果未找到成员,则为 null。 | OLAPLevel | ||
| name : String 与此 OLAPLevel 实例相关联的 OLAPAttribute 实例的名称属性的值。 | OLAPLevel | ||
| parent : IOLAPLevel [只读 (read-only)] 此层次的父层次,或者如果未将此层次嵌入其他层次,则为 null。 | OLAPLevel | ||
![]() | prototype : Object [静态]
对类或函数对象的原型对象的引用。 | Object | |
| uniqueName : String [只读 (read-only)] 多维数据集中 OLAP 元素的唯一名称。 | OLAPLevel | ||
| 方法 | 定义方 | ||
|---|---|---|---|
构造函数 | OLAPLevel | ||
返回层次结构中有此给定名称的成员。 | OLAPLevel | ||
![]() |
指示对象是否已经定义了指定的属性。 | Object | |
![]() |
指示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | |
![]() |
指示指定的属性是否存在、是否可枚举。 | Object | |
![]() |
设置循环操作动态属性的可用性。 | Object | |
![]() | 返回该元素的唯一名称。 | OLAPElement | |
![]() |
返回指定对象的原始值。 | Object | |
| attribute | 属性 |
attribute:OLAPAttribute [只读 (read-only)] 与此级别相连的属性,作为 OLAPAttribute 的实例。
public function get attribute():OLAPAttribute| attributeName | 属性 |
attributeName:String [读写]
要在此级别使用的属性名称。此属性的值与相应属性的 OLAPAttribute.name 属性的值相对应。
public function get attributeName():String public function set attributeName(value:String):void| child | 属性 |
| dataField | 属性 |
dataField:String [只读 (read-only)] 为此 OLAPLevel 实例提供数据的输入数据集的字段。
public function get dataField():String| depth | 属性 |
| hierarchy | 属性 |
hierarchy:IOLAPHierarchy [读写] 此层次所属维度的层次结构。
public function get hierarchy():IOLAPHierarchy public function set hierarchy(value:IOLAPHierarchy):void| members | 属性 |
members:IList [只读 (read-only)] 此层次的成员,如 IOLAPMember 实例列表,或者如果未找到成员,则为 null。该列表可能会表示远程数据,因此可以引发 ItemPendingError。
public function get members():IList| name | 属性 |
name:String [读写]
与此 OLAPLevel 实例相关联的 OLAPAttribute 实例的 name 属性的值。即使此属性是可写的,其值也由与级别关联的 OLAPAttribute 实例来决定,无法设置。
public function get name():String public function set name(value:String):void| parent | 属性 |
parent:IOLAPLevel [只读 (read-only)] 此层次的父层次,或者如果未将此层次嵌入其他层次,则为 null。
public function get parent():IOLAPLevel| uniqueName | 属性 |
uniqueName:String [只读 (read-only)] 多维数据集中 OLAP 元素的唯一名称。例如,“[Time][Year][2007]”是一个唯一名称,其中 2007 是属于“Time”维度的“Year”级别的元素名称。
public function get uniqueName():String| OLAPLevel | () | 构造函数 |
public function OLAPLevel(name:String = null, displayName:String = null)构造函数
参数name:String (default = null) — 包括元素的 OLAP 架构层次结构的 OLAP 层次的名称。例如,“Time_Year”,其中“Year”是 OLAP 架构中“Time”维度的级别。 | |
displayName:String (default = null) — OLAP 导次的名称,可作为 String 显示。 |
| findMember | () | 方法 |
public function findMember(name:String):IList返回层次结构中有此给定名称的成员。
参数
name:String — 该成员的名称。 |
IList — 表示成员的 IOLAPMember 实例列表,或者如果未找到成员,则为 null。 |