Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
OLAPMember

Package | mx.olap
Class | public class OLAPMember
Inheritance | OLAPMember OLAPElement flash.utils.Proxy
Implements | IOLAPMember
Subclasses | OLAPMeasure

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The OLAPMember class represents a member of an OLAP dimension.

MXML Syntax Show MXML Syntax
Hide MXML Syntax

The `<mx:OLAPMember>` tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:

      <mx:OLAPMember
        Properties
      />

See also

mx.olap.IOLAPMember

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | children : IList [read-only] The children of this member, as a list of IOLAPMember instances. | OLAPMember
|  | dataField : String The field of the input data set that provides the data for this OLAPMember instance. | OLAPMember
|  | dimension : IOLAPDimension [override] The dimension to which this member belongs. | OLAPMember
|  | displayName : String The name of the OLAP element, as a String, which can be used for display. | OLAPElement
|  | hierarchy : IOLAPHierarchy [read-only] The hierarchy to which this member belongs. | OLAPMember
|  | isAll : Boolean [read-only] Returns true if this is the all member of a hierarchy. | OLAPMember
|  | isMeasure : Boolean [read-only] Returns true if this member represents a measure of a dimension. | OLAPMember
|  | level : IOLAPLevel The level to which this member belongs. | OLAPMember
|  | name : String The name of the OLAP element that includes the OLAP schema hierarchy of the element. | OLAPElement
|  | parent : IOLAPMember The parent of this member. | OLAPMember
|  | uniqueName : String [override] [read-only] The unique name of the OLAP element in the cube. | OLAPMember

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | OLAPMember(name:String = null, displayName:String = null) Constructor | OLAPMember
|  | findChildMember(name:String):IOLAPMember Returns a child of this member with the given name. | OLAPMember
|  | toString():String Returns the unique name of the element. | OLAPElement

Property Detail

children | property

`children:IList` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The children of this member, as a list of IOLAPMember instances.

Implementation
`public function get children():IList`

dataField | property |

`dataField:String`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The field of the input data set that provides the data for this OLAPMember instance.

Implementation
`public function get dataField():String`
`public function set dataField(value:String):void`

dimension | property |

`dimension:IOLAPDimension`[override]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The dimension to which this member belongs.

Implementation
`public function get dimension():IOLAPDimension`
`public function set dimension(value:IOLAPDimension):void`

hierarchy | property |

`hierarchy:IOLAPHierarchy` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The hierarchy to which this member belongs.

Implementation
`public function get hierarchy():IOLAPHierarchy`

isAll | property |

`isAll:Boolean` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns `true` if this is the all member of a hierarchy.

Implementation
`public function get isAll():Boolean`

isMeasure | property |

`isMeasure:Boolean` [read-only]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns `true` if this member represents a measure of a dimension.

Implementation
`public function get isMeasure():Boolean`

level | property |

`level:IOLAPLevel`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The level to which this member belongs.

Implementation
`public function get level():IOLAPLevel`
`public function set level(value:IOLAPLevel):void`

parent | property |

`parent:IOLAPMember`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The parent of this member.

Implementation
`public function get parent():IOLAPMember`
`public function set parent(value:IOLAPMember):void`

uniqueName | property |

`uniqueName:String` [read-only] [override]

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The unique name of the OLAP element in the cube. For example, "[Time][Year][2007]" is a unique name, where 2007 is the element name belonging to the "Year" level of the "Time" dimension.

Implementation
`public function get uniqueName():String`
Constructor Detail

OLAPMember | () | Constructor

`public function OLAPMember(name:String = null, displayName:String = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor

Parameters

| `name:String` (default = `null`)`` — The name of the OLAP element that includes the OLAP schema hierarchy of the element. For example, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
| `displayName:String` (default = `null`)`` — The name of the OLAP member, as a String, which can be used for display.

Method Detail

findChildMember | () | method

`public function findChildMember(name:String):IOLAPMember`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Returns a child of this member with the given name.

Parameters

| `name:String` — The name of the member.

Returns

| `IOLAPMember` — A list of IOLAPMember instances representing the member, or null if a member is not found.

Sun Mar 5 2017, 03:42 PM +11:00