Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.olap 
OLAPMeasure 
Packagemx.olap
Classpublic class OLAPMeasure
InheritanceOLAPMeasure Inheritance OLAPMember Inheritance OLAPElement Inheritance Proxy Inheritance Object

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

The OLAPMeasure class represents a member of the measure dimension of an OLAP cube.

See also



Public Properties
 PropertyDefined By
  aggregator : Object
The aggregation to be performed for this measure.
OLAPMeasure
 Inheritedchildren : IList
[read-only] The children of this member, as a list of IOLAPMember instances.
OLAPMember
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheriteddataField : String
The field of the input data set that provides the data for this OLAPMember instance.
OLAPMember
 Inheriteddimension : 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
 Inheritedhierarchy : IOLAPHierarchy
[read-only] The hierarchy to which this member belongs.
OLAPMember
 InheritedisAll : Boolean
[read-only] Returns true if this is the all member of a hierarchy.
OLAPMember
 InheritedisMeasure : Boolean
[read-only] Returns true if this member represents a measure of a dimension.
OLAPMember
 Inheritedlevel : 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
 Inheritedparent : IOLAPMember
The parent of this member.
OLAPMember
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 InheriteduniqueName : String
[override] [read-only] The unique name of the OLAP element in the cube.
OLAPMember
Public Methods
 MethodDefined By
  
OLAPMeasure(name:String = null, displayName:String = null)
Constructor.
OLAPMeasure
 Inherited
Returns a child of this member with the given name.
OLAPMember
 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
 Inherited
Returns the unique name of the element.
OLAPElement
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

aggregator

property
aggregator:Object

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

The aggregation to be performed for this measure. You can use one of the following values for the property: "SUM", "AVG", "MIN", "MAX", or "COUNT".

You can also use a custom aggregator by implementing the IOLAPCustomAggregator interface, then setting the aggregator property to that custom aggregator, as the following example shows:

aggregator={new CustomAgg()}



Implementation
    public function get aggregator():Object
    public function set aggregator(value:Object):void

See also

Constructor Detail

OLAPMeasure

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