Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.olap 
OLAPElement 
Packagemx.olap
Classpublic class OLAPElement
InheritanceOLAPElement Inheritance Proxy Inheritance Object
Implements IOLAPElement
Subclasses OLAPDimension, OLAPHierarchy, OLAPLevel, OLAPMember

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The OLAPElement class defines a base interface that provides common properties for all OLAP elements.

MXML SyntaxexpandedHide MXML Syntax

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

  <mx:OLAPElement
    Properties
    dimensions=""
    name=""
  />
 
  

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  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
  name : String
The name of the OLAP element that includes the OLAP schema hierarchy of the element.
OLAPElement
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  uniqueName : String
[read-only] The unique name of the OLAP element in the cube.
OLAPElement
Public Methods
 MethodDefined By
  
OLAPElement(name:String = null, displayName:String = null)
Constructor
OLAPElement
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
  
Returns the unique name of the element.
OLAPElement
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

dimension

property
dimension:IOLAPDimension

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The dimension to which this element belongs.



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

displayName

property 
displayName:String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The name of the OLAP element, as a String, which can be used for display.



Implementation
    public function get displayName():String
    public function set displayName(value:String):void

name

property 
name:String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The name of the OLAP element that includes the OLAP schema hierarchy of the element. For example, "Time_Year" is the name of the OLAP element, where "Year" is a level of the "Time" dimension in an OLAP schema.



Implementation
    public function get name():String
    public function set name(value:String):void

uniqueName

property 
uniqueName:String  [read-only]

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

OLAPElement

()Constructor
public function OLAPElement(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 element, as a String, which can be used for display.
Method Detail

toString

()method
public function toString():String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the unique name of the element.

Returns
String — The unique name of the element.