((Apenas para componentes do Flex Data Visualization))
Pacotemx.olap
Classepublic class OLAPDimension
HerançaOLAPDimension Inheritance OLAPElement Inheritance Proxy Inheritance Object
Implementa IOLAPDimension

The OLAPDimension class represents a dimension of an OLAP cube.

Sintaxe em MXMLexpandedHide MXML Syntax

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

  <mx:OLAPDimension
    Properties
    attributes=""
    elements=""
    hierarchies=""
   />
   

Default MXML Propertyelements

Veja também

mx.olap.IOLAPDimension


Propriedades Públicas
 PropriedadeDefinido por
  attributes : IList
The attributes of this dimension, as a list of OLAPAttribute instances.
OLAPDimension
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  cube : IOLAPCube
The cube to which this dimension belongs.
OLAPDimension
  defaultMember : IOLAPMember
[read-only] The default member of this dimension.
OLAPDimension
 InheriteddisplayName : String
OLAPElement
  elements : Array
[write-only] Processes the input Array and initializes the attributes and hierarchies properties based on the elements of the Array.
OLAPDimension
  hierarchies : IList
All the hierarchies for this dimension, as a list of IOLAPHierarchy instances.
OLAPDimension
  isMeasure : Boolean
[read-only] Contains true if this is the measures dimension, which holds all the measure members.
OLAPDimension
  members : IList
[read-only] Returns all the members of this dimension, as a list of IOLAPMember instances.
OLAPDimension
 Inheritedname : String
OLAPElement
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 InheriteduniqueName : String
[read-only]
OLAPElement
Métodos Públicos
 MétodoDefinido por
  
OLAPDimension(name:String = null, displayName:String = null)
Constructor
OLAPDimension
  
Returns the attribute with the given name within the dimension.
OLAPDimension
  
Returns the hierarchy with the given name within the dimension.
OLAPDimension
  
Returns the member with the given name within the dimension.
OLAPDimension
 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 unique name of the element.
OLAPElement
 Inherited
Returns the primitive value of the specified object.
Object
Detalhes da propriedade
attributespropriedade
attributes:IList  [read-write]

The attributes of this dimension, as a list of OLAPAttribute instances.


Implementação
    public function get attributes():IList
    public function set attributes(value:IList):void
cubepropriedade 
cube:IOLAPCube  [read-write]

The cube to which this dimension belongs.


Implementação
    public function get cube():IOLAPCube
    public function set cube(value:IOLAPCube):void
defaultMemberpropriedade 
defaultMember:IOLAPMember  [read-only]

The default member of this dimension.


Implementação
    public function get defaultMember():IOLAPMember
elementspropriedade 
elements:Array  [write-only]

Processes the input Array and initializes the attributes and hierarchies properties based on the elements of the Array. Attributes are represented in the Array by instances of the OLAPAttribute class, and hierarchies are represented by instances of the OLAPHierarchy class.

Use this property to define the attributes and hierarchies of a cube in a single Array.


Implementação
    public function set elements(value:Array):void
hierarchiespropriedade 
hierarchies:IList  [read-write]

All the hierarchies for this dimension, as a list of IOLAPHierarchy instances.


Implementação
    public function get hierarchies():IList
    public function set hierarchies(value:IList):void
isMeasurepropriedade 
isMeasure:Boolean  [read-only]

Contains true if this is the measures dimension, which holds all the measure members.


Implementação
    public function get isMeasure():Boolean
memberspropriedade 
members:IList  [read-only]

Returns all the members of this dimension, as a list of IOLAPMember instances. The returned list might represent remote data and therefore can throw an ItemPendingError.


Implementação
    public function get members():IList
Detalhes do construtor
OLAPDimension()Construtor
public function OLAPDimension(name:String = null, displayName:String = null)

Constructor

Parâmetros
name:String (default = null) — The name of the OLAP dimension that includes the OLAP schema hierarchy of the element.
 
displayName:String (default = null) — The name of the OLAP dimension, as a String, which can be used for display.
Detalhes do método
findAttribute()método
public function findAttribute(name:String):IOLAPAttribute

Returns the attribute with the given name within the dimension.

Parâmetros

name:String — The name of the attribute.

Retorna
IOLAPAttribute — An IOLAPAttribute instance representing the attribute, or null if an attribute is not found.
findHierarchy()método 
public function findHierarchy(name:String):IOLAPHierarchy

Returns the hierarchy with the given name within the dimension.

Parâmetros

name:String — The name of the hierarchy.

Retorna
IOLAPHierarchy — An IOLAPHierarchy instance representing the hierarchy, or null if a hierarchy is not found.
findMember()método 
public function findMember(name:String):IOLAPMember

Returns the member with the given name within the dimension.

Parâmetros

name:String — The name of the member.

Retorna
IOLAPMember — An IOLAPMember instance representing the member, or null if a member is not found.