Packagemx.olap
Classpublic class OLAPSchema
InheritanceOLAPSchema Inheritance Object
Implements IOLAPSchema

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

The OLAPSchema class represents an OLAP cube or cubes.

MXML SyntaxexpandedHide MXML Syntax

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

  <mx:OLAPSchema
    Properties
       cubeArray=""
  />
   

Default MXML PropertycubeArray

See also

mx.olap.IOLAPSchema
mx.olap.OLAPCube


Public Properties
 PropertyDefined By
  cubeArray : Array
[write-only] Lets you set the cubes of a schema by passing an Array of IOLAPCube instances.
OLAPSchema
  cubes : IList
All the cubes known by this schema, as a list of IOLAPCube instances.
OLAPSchema
Public Methods
 MethodDefined By
  
createCube(name:String):IOLAPCube
Creates an OLAP cube from the schema.
OLAPSchema
  
getCube(name:String):IOLAPCube
Returns a cube specified by name.
OLAPSchema
Property Detail
cubeArrayproperty
cubeArray:Array  [write-only]

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

Lets you set the cubes of a schema by passing an Array of IOLAPCube instances.


Implementation
    public function set cubeArray(value:Array):void
cubesproperty 
cubes:IList

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

All the cubes known by this schema, as a list of IOLAPCube instances. The returned list might represent remote data and therefore can throw an ItemPendingError.


Implementation
    public function get cubes():IList
    public function set cubes(value:IList):void
Method Detail
createCube()method
public function createCube(name:String):IOLAPCube

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

Creates an OLAP cube from the schema.

Parameters

name:String — The name of the cube.

Returns
IOLAPCube — The IOLAPCube instance.
getCube()method 
public function getCube(name:String):IOLAPCube

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

Returns a cube specified by name.

Parameters

name:String — The name of the cube.

Returns
IOLAPCube — The IOLAPCube instance, or null if one is not found.