((Apenas para componentes do Flex Data Visualization))
Pacotemx.olap
Classepublic class OLAPLevel
HerançaOLAPLevel Inheritance OLAPElement Inheritance Proxy Inheritance Object
Implementa IOLAPLevel

The OLAPLevel class represents a level in an OLAP cube.

Sintaxe em MXMLexpandedHide MXML Syntax

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

  <mx:OLAPLevel
    Properties
    attributeName=""
  />
   

Veja também

mx.olap.IOLAPLevel


Propriedades Públicas
 PropriedadeDefinido por
  attribute : OLAPAttribute
[read-only] The attribute connected to this level, as an instance of OLAPAttribute.
OLAPLevel
  attributeName : String
The name of the attribute to be used at this level.
OLAPLevel
  child : IOLAPLevel
[read-only] The next child level in the hierarchy.
OLAPLevel
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  dataField : String
[read-only] The field of the input data set that provides the data for this OLAPLevel instance.
OLAPLevel
  depth : int
[read-only] The depth of the level in the hierarchy of the dimension.
OLAPLevel
 Inheriteddimension : IOLAPDimension
OLAPElement
 InheriteddisplayName : String
OLAPElement
  hierarchy : IOLAPHierarchy
The hierarchy of the dimension to which this level belongs.
OLAPLevel
  members : IList
[read-only] The members of this level, as a list of IOLAPMember instances, or null if a member is not found.
OLAPLevel
  name : String
The value of the name property of the OLAPAttribute instance associated with this OLAPLevel instance.
OLAPLevel
  parent : IOLAPLevel
[read-only] The parent level of this level, or null if this level is not nested in another level.
OLAPLevel
 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.
OLAPLevel
Métodos Públicos
 MétodoDefinido por
  
OLAPLevel(name:String = null, displayName:String = null)
Constructor
OLAPLevel
  
Returns the members with the given name within the hierarchy.
OLAPLevel
 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
attributepropriedade
attribute:OLAPAttribute  [read-only]

The attribute connected to this level, as an instance of OLAPAttribute.


Implementação
    public function get attribute():OLAPAttribute
attributeNamepropriedade 
attributeName:String  [read-write]

The name of the attribute to be used at this level. The value of this property corresponds to the value of the OLAPAttribute.name property for the corresponding attribute.


Implementação
    public function get attributeName():String
    public function set attributeName(value:String):void
childpropriedade 
child:IOLAPLevel  [read-only]

The next child level in the hierarchy.


Implementação
    public function get child():IOLAPLevel
dataFieldpropriedade 
dataField:String  [read-only]

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


Implementação
    public function get dataField():String
depthpropriedade 
depth:int  [read-only]

The depth of the level in the hierarchy of the dimension.


Implementação
    public function get depth():int
hierarchypropriedade 
hierarchy:IOLAPHierarchy  [read-write]

The hierarchy of the dimension to which this level belongs.


Implementação
    public function get hierarchy():IOLAPHierarchy
    public function set hierarchy(value:IOLAPHierarchy):void
memberspropriedade 
members:IList  [read-only]

The members of this level, as a list of IOLAPMember instances, or null if a member is not found. The list might represent remote data and therefore can throw an ItemPendingError.


Implementação
    public function get members():IList
namepropriedade 
name:String  [read-write]

The value of the name property of the OLAPAttribute instance associated with this OLAPLevel instance. Even though this property is writable, its value is determned by the OLAPAttribute instance associated with the level and cannot be set.


Implementação
    public function get name():String
    public function set name(value:String):void
parentpropriedade 
parent:IOLAPLevel  [read-only]

The parent level of this level, or null if this level is not nested in another level.


Implementação
    public function get parent():IOLAPLevel
uniqueNamepropriedade 
uniqueName:String  [read-only]

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


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

Constructor

Parâmetros
name:String (default = null) — The name of the OLAP level that includes the OLAP schema hierarchy of the element. For exemplo, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
 
displayName:String (default = null) — The name of the OLAP level, as a String, which can be used for display.
Detalhes do método
findMember()método
public function findMember(name:String):IList

Returns the members with the given name within the hierarchy.

Parâmetros

name:String — The name of the member.

Retorna
IList — A list of IOLAPMember instances representing the members, or null if a member is not found.