Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.olap 
OLAPSchema 
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



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  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
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
Creates an OLAP cube from the schema.
OLAPSchema
  
Returns a cube specified by name.
OLAPSchema
 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 string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

cubeArray

property
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

cubes

property 
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.