| 包 | mx.olap |
| 接口 | public interface IOLAPDimension extends IOLAPElement |
| 实现器 | OLAPDimension |
另请参见
| 属性 | 定义方 | ||
|---|---|---|---|
| attributes : IList [只读 (read-only)] 此维度的属性,作为 OLAPAttribute 实例列表。 | IOLAPDimension | ||
| cube : IOLAPCube [只读 (read-only)] 此维度所属的多维数据集。 | IOLAPDimension | ||
| defaultMember : IOLAPMember [只读 (read-only)] 此维度的默认成员。 | IOLAPDimension | ||
![]() | dimension : IOLAPDimension [只读 (read-only)] 此元素所属的维度。 | IOLAPElement | |
![]() | displayName : String [只读 (read-only)] OLAP 元素的名称,可作为 String 显示。 | IOLAPElement | |
| hierarchies : IList [只读 (read-only)] 此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。 | IOLAPDimension | ||
| isMeasure : Boolean [只读 (read-only)] 如果此为保留所有测量成员的测量维度,则包含 true。 | IOLAPDimension | ||
| members : IList [只读 (read-only)] 返回此维度的所有成员,作为 IOLAPMember 实例列表。 | IOLAPDimension | ||
![]() | name : String [只读 (read-only)] OLAP 元素的名称,包含该元素的 OLAP 架构层次结构。 | IOLAPElement | |
![]() | uniqueName : String [只读 (read-only)] 多维数据集中 OLAP 元素的唯一名称。 | IOLAPElement | |
| 方法 | 定义方 | ||
|---|---|---|---|
返回具有维度中给定名称的属性。 | IOLAPDimension | ||
返回具有维度中给定名称的层次结构。 | IOLAPDimension | ||
返回具有维度中给定名称的成员。 | IOLAPDimension | ||
| attributes | 属性 |
attributes:IList [只读 (read-only)] 此维度的属性,作为 OLAPAttribute 实例列表。
public function get attributes():IList| cube | 属性 |
| defaultMember | 属性 |
defaultMember:IOLAPMember [只读 (read-only)] 此维度的默认成员。
public function get defaultMember():IOLAPMember| hierarchies | 属性 |
hierarchies:IList [只读 (read-only)] 此维度的所有层次结构,作为 IOLAPHierarchy 实例列表。
public function get hierarchies():IList| isMeasure | 属性 |
isMeasure:Boolean [只读 (read-only)]
如果此为保留所有测量成员的测量维度,则包含 true。
public function get isMeasure():Boolean| members | 属性 |
members:IList [只读 (read-only)] 返回此维度的所有成员,作为 IOLAPMember 实例列表。返回的列表可能表示远程数据,因此可以引发 ItemPendingError。
public function get members():IList| 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。 |