Copyright © 2011 Citra Technologies. All Rights Reserved.

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

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

public class OlapSchemaImpl
extends AbstractOlapObject
implements OlapSchema

OlapSchemaImpl is a modifiable OlapSchema implementation.


Field Summary
protected  CubeList cubes
          the list of cubes
protected  DimensionList dimensions
          the list of dimensions
 
Fields inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject
caption, description, id, name
 
Constructor Summary
OlapSchemaImpl(String name, String id, String caption)
          Constructs an OlapSchemaImpl.
 
Method Summary
 CubeList getCubes()
          Retrieves the olap cubes the schema contains.
 DimensionList getDimensions()
          Retrieves the shared olap dimensions that the schema contains.
 void setCubes(List cubes)
          Assigns a list of cubes to the schema.
 void setDimensions(List dimensions)
          Assigns a list of dimensions to the schema.
 
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


cubes

protected CubeList cubes
the list of cubes

Constructor Detail

OlapSchemaImpl

public OlapSchemaImpl(String name,
                      String id,
                      String caption)
Constructs an OlapSchemaImpl.

Method Detail

getCubes

public CubeList getCubes()
Retrieves the olap cubes the schema contains.

Specified by:
getCubes in interface OlapSchema
Returns:
the list of cubes

getDimensions

public DimensionList getDimensions()
Retrieves the shared olap dimensions that the schema contains.

Specified by:
getDimensions in interface OlapSchema
Returns:
the list of shared dimensions

setCubes

public void setCubes(List cubes)
Assigns a list of cubes to the schema.

Parameters:
cubes - the cubes to assign

setDimensions

public void setDimensions(List dimensions)
Assigns a list of dimensions to the schema.

Parameters:
dimensions - the dimensions to assign

Copyright © 2011 Citra Technologies. All Rights Reserved.