Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.metadata.impl
Class OlapCubeImpl

java.lang.Object
  extended by com.citra.pivot.olap.metadata.impl.AbstractOlapObject
      extended by com.citra.pivot.olap.metadata.impl.OlapCubeImpl
All Implemented Interfaces:
OlapCube, OlapObject

public class OlapCubeImpl
extends AbstractOlapObject
implements OlapCube

OlapCubeImpl is a modifiable OlapCube implementation.


Field Summary
protected  DimensionList dimensions
          the list of dimensions
protected  LocaleList locales
          the list of supported locales
protected  OlapDimension measureDimension
          the measure dimension
protected  MeasureList measures
          the list of measures
protected  OlapSchema schema
          the schema
 
Fields inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject
caption, description, id, name
 
Constructor Summary
OlapCubeImpl(String name, String id, String caption, String description, OlapSchema schema)
          Constructs an OlapCubeImpl.
 
Method Summary
 DimensionList getDimensions()
          Retrieves the dimensions of the cube.
 OlapDimension getMeasureDimension()
          Retrieves the measure dimension.
 MeasureList getMeasures()
          Retrieves the measures of the cube.
 OlapSchema getSchema()
          Retrieves the schema this cube belongs to.
 LocaleList getSupportedLocales()
          Retrieves the locales that are supported by this cube.
 void setDimensions(List dimensions)
          Assigns the dimensions of this cube.
 void setMeasureDimension(OlapDimension measureDimension)
          Assigns the measure dimension of this cube.
 void setMeasures(List measures)
          Assigns the measures of this cube.
 void setSchema(OlapSchema schema)
          Assigns the schema of this cube.
 void setSupportedLocales(Collection locales)
          Assigns the supported locales of this cube.
 
Methods inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject
getCaption, getDescription, getID, getName, setCaption, setDescription, setID, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.citra.pivot.olap.metadata.OlapObject
getCaption, getDescription, getID, getName
 

Field Detail

dimensions

protected DimensionList dimensions
the list of dimensions


measures

protected MeasureList measures
the list of measures


schema

protected OlapSchema schema
the schema


locales

protected LocaleList locales
the list of supported locales


measureDimension

protected OlapDimension measureDimension
the measure dimension

Constructor Detail

OlapCubeImpl

public OlapCubeImpl(String name,
                    String id,
                    String caption,
                    String description,
                    OlapSchema schema)
Constructs an OlapCubeImpl.

Method Detail

getDimensions

public DimensionList getDimensions()
Retrieves the dimensions of the cube.

Specified by:
getDimensions in interface OlapCube
Returns:
the cube's dimensions

getMeasureDimension

public OlapDimension getMeasureDimension()
Retrieves the measure dimension.

Specified by:
getMeasureDimension in interface OlapCube
Returns:
the cube's measure dimension

getMeasures

public MeasureList getMeasures()
Retrieves the measures of the cube.

Specified by:
getMeasures in interface OlapCube
Returns:
the cube's measures

getSchema

public OlapSchema getSchema()
Retrieves the schema this cube belongs to.

Specified by:
getSchema in interface OlapCube
Returns:
the cube's schema

getSupportedLocales

public LocaleList getSupportedLocales()
Retrieves the locales that are supported by this cube.

Specified by:
getSupportedLocales in interface OlapCube
Returns:
the cube's supported locales

setDimensions

public void setDimensions(List dimensions)
Assigns the dimensions of this cube.

Parameters:
dimensions - the dimensions to assign

setMeasureDimension

public void setMeasureDimension(OlapDimension measureDimension)
Assigns the measure dimension of this cube.

Parameters:
measureDimension - the measure dimension to assign

setMeasures

public void setMeasures(List measures)
Assigns the measures of this cube.

Parameters:
measures - the measures to assign

setSchema

public void setSchema(OlapSchema schema)
Assigns the schema of this cube.

Parameters:
schema - the schema to assign

setSupportedLocales

public void setSupportedLocales(Collection locales)
Assigns the supported locales of this cube.

Parameters:
locales - the locales to assign

Copyright © 2011 Citra Technologies. All Rights Reserved.