| Pacchetto | mx.olap |
| Classe | public class OLAPHierarchy |
| Ereditarietà | OLAPHierarchy OLAPElement Proxy |
| Implementa | IOLAPHierarchy |
| Sottoclassi | OLAPAttribute |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Nascondi sintassi MXML
The <mx:OLAPHierarchy> tag inherits all of the tag attributes
of its superclass, and adds the following tag attributes:
<mx:OLAPHierarchy
Properties
allMemberName="(All)"
elements="An array of Levels of this hierarchy"
hasAll="true|false"
name="No default"
/>
Proprietà MXML predefinitaelements
Altri esempi
Elementi API correlati
| Proprietà | Definito da | ||
|---|---|---|---|
| allMemberName : String
The name of the all member of the hierarchy. | OLAPHierarchy | ||
| children : IList [sola lettura]
The children of the all member, as a list of IOLAPMember instances. | OLAPHierarchy | ||
| defaultMember : IOLAPMember [sola lettura]
The default member of the hierarchy. | OLAPHierarchy | ||
![]() | dimension : IOLAPDimension
The dimension to which this element belongs. | OLAPElement | |
![]() | displayName : String
The name of the OLAP element, as a String, which can be used for display. | OLAPElement | |
| elements : Array [sola scrittura]
An Array of the levels of the hierarchy, as OLAPLevel instances. | OLAPHierarchy | ||
| hasAll : Boolean
Specifies whether the hierarchy has an all member, true,
or not, false. | OLAPHierarchy | ||
| levels : IList
All the levels of this hierarchy, as a list of IOLAPLevel instances. | OLAPHierarchy | ||
| members : IList [sola lettura]
All members of all the levels that belong to this hierarchy,
as a list of IOLAPMember instances. | OLAPHierarchy | ||
| name : String [override]
User defined name of this hierarchy. | OLAPHierarchy | ||
![]() | uniqueName : String [sola lettura]
The unique name of the OLAP element in the cube. | OLAPElement | |
| Metodo | Definito da | ||
|---|---|---|---|
Constructor
| OLAPHierarchy | ||
Returns the level with the given name within the hierarchy. | OLAPHierarchy | ||
Returns the member with the given name within the hierarchy. | OLAPHierarchy | ||
![]() |
Returns the unique name of the element. | OLAPElement | |
allMemberName | proprietà |
allMemberName:String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
The name of the all member of the hierarchy.
Il valore predefinito è "(All)".
Implementazione
public function get allMemberName():String public function set allMemberName(value:String):voidchildren | proprietà |
defaultMember | proprietà |
defaultMember:IOLAPMember [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
The default member of the hierarchy. The default member is used if the hierarchy is used where a member is expected.
Implementazione
public function get defaultMember():IOLAPMemberelements | proprietà |
hasAll | proprietà |
hasAll:Boolean| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Specifies whether the hierarchy has an all member, true,
or not, false. If true, the all member name
is as specified by the allMemberName property.
Il valore predefinito è true.
Implementazione
public function get hasAll():Boolean public function set hasAll(value:Boolean):voidlevels | proprietà |
levels:IList| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
All the levels of this hierarchy, as a list of IOLAPLevel instances. The returned list might represent remote data and therefore can throw an ItemPendingError.
Implementazione
public function get levels():IList public function set levels(value:IList):voidmembers | proprietà |
members:IList [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
All members of all the levels that belong to this hierarchy, as a list of IOLAPMember instances. The returned list might represent remote data and therefore can throw an ItemPendingError.
Implementazione
public function get members():IListname | proprietà |
name:String[override] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
User defined name of this hierarchy. If user has not set a explicit name then the dimension name is returned.
Implementazione
override public function get name():String override public function set name(value:String):voidOLAPHierarchy | () | Funzione di costruzione |
public function OLAPHierarchy(name:String = null, displayName:String = null)| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Constructor
Parametriname:String (default = null) — The name of the OLAP level that includes the OLAP schema hierarchy of the element.
| |
displayName:String (default = null) — The name of the OLAP level, as a String, which can be used for display.
|
findLevel | () | metodo |
public function findLevel(name:String):IOLAPLevel| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns the level with the given name within the hierarchy.
Parametri
name:String — The name of the level.
|
IOLAPLevel — An IOLAPLevel instance representing the level,
or null if a level is not found.
|
findMember | () | metodo |
public function findMember(name:String):IOLAPMember| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Flex 3 |
| Versioni runtime: | Flash Player 9, AIR 1.1 |
Returns the member with the given name within the hierarchy.
Parametri
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, 02:44 PM Z
Mostra sintassi MXML