套件 | mx.olap |
類別 | public class OLAPDimension |
繼承 | OLAPDimension OLAPElement Proxy |
實作 | IOLAPDimension |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
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
更多範例
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
attributes : IList
The attributes of this dimension, as a list of OLAPAttribute instances. | OLAPDimension | ||
cube : IOLAPCube
The cube to which this dimension belongs. | OLAPDimension | ||
defaultMember : IOLAPMember [唯讀]
The default member of this dimension. | OLAPDimension | ||
displayName : String
The name of the OLAP element, as a String, which can be used for display. | OLAPElement | ||
elements : Array [唯寫]
Processes the input Array and initializes the attributes
and hierarchies properties based on the elements of the Array. | OLAPDimension | ||
hierarchies : IList
All the hierarchies for this dimension, as a list of IOLAPHierarchy instances. | OLAPDimension | ||
isMeasure : Boolean [唯讀]
Contains true if this is the measures dimension,
which holds all the measure members. | OLAPDimension | ||
members : IList [唯讀]
Returns all the members of this dimension, as a list of IOLAPMember instances. | OLAPDimension | ||
name : String
The name of the OLAP element that includes the OLAP schema hierarchy of the element. | OLAPElement | ||
uniqueName : String [唯讀]
The unique name of the OLAP element in the cube. | OLAPElement |
方法 | 定義自 | ||
---|---|---|---|
Constructor
| OLAPDimension | ||
Returns the attribute with the given name within the dimension. | OLAPDimension | ||
Returns the hierarchy with the given name within the dimension. | OLAPDimension | ||
Returns the member with the given name within the dimension. | OLAPDimension | ||
Returns the unique name of the element. | OLAPElement |
attributes | 屬性 |
cube | 屬性 |
defaultMember | 屬性 |
defaultMember:IOLAPMember
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The default member of this dimension.
實作
public function get defaultMember():IOLAPMember
elements | 屬性 |
elements:Array
[唯寫] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Processes the input Array and initializes the attributes
and hierarchies
properties based on the elements of the Array.
Attributes are represented in the Array by instances of the OLAPAttribute class,
and hierarchies are represented by instances of the OLAPHierarchy class.
Use this property to define the attributes and hierarchies of a cube in a single Array.
實作
public function set elements(value:Array):void
hierarchies | 屬性 |
isMeasure | 屬性 |
members | 屬性 |
OLAPDimension | () | 建構函式 |
public function OLAPDimension(name:String = null, displayName:String = null)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor
參數name:String (default = null ) — The name of the OLAP dimension that includes the OLAP schema hierarchy of the element.
| |
displayName:String (default = null ) — The name of the OLAP dimension, as a String, which can be used for display.
|
findAttribute | () | 方法 |
public function findAttribute(name:String):IOLAPAttribute
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the attribute with the given name within the dimension.
參數
name:String — The name of the attribute.
|
IOLAPAttribute — An IOLAPAttribute instance representing the attribute,
or null if an attribute is not found.
|
findHierarchy | () | 方法 |
public function findHierarchy(name:String):IOLAPHierarchy
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the hierarchy with the given name within the dimension.
參數
name:String — The name of the hierarchy.
|
IOLAPHierarchy — An IOLAPHierarchy instance representing the hierarchy,
or null if a hierarchy is not found.
|
findMember | () | 方法 |
public function findMember(name:String):IOLAPMember
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the member with the given name within the dimension.
參數
name:String — The name of the member.
|
IOLAPMember — An IOLAPMember instance representing the member,
or null if a member is not found.
|
Tue Jun 12 2018, 03:47 PM Z