ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.olap 

OLAPMember  - AS3 Flex

Packagemx.olap
Classpublic class OLAPMember
InheritanceOLAPMember Inheritance OLAPElement Inheritance 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 SyntaxexpandedHide MXML Syntax

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

  <mx:OLAPMember
    Properties
  />
 
  

Related API Elements



Public Properties
 PropertyDefined 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
 InheriteddisplayName : 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
 Inheritedname : 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
 MethodDefined By
  
OLAPMember(name:String = null, displayName:String = null)
Constructor
OLAPMember
  
Returns a child of this member with the given name.
OLAPMember
 Inherited
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
    override public function get dimension():IOLAPDimension
    override 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
    override 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.