|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.table.AbstractTableObject
com.citra.pivot.table.TableSchema
public class TableSchema
TableSchema is the the concrete OlapSchema implementation for the table datasource.
Field Summary | |
---|---|
protected CubeList |
cubes
the schema's cubes |
protected DimensionList |
dimensions
the schema's dimensions |
Fields inherited from class com.citra.pivot.table.AbstractTableObject |
---|
caption, description, id, name |
Constructor Summary | |
---|---|
TableSchema(String name)
Constructs a TableSchema. |
Method Summary | |
---|---|
void |
addCube(TableCube cube)
Adds a cube to the schema. |
void |
addDimension(TableDimension dimension)
Adds a dimension to the schema. |
TableCube |
createCube(String name)
Creates, adds and returns a cube with a given name. |
TableDimension |
createDimension(String name)
Creates, adds and returns a dimension with a given name. |
CubeList |
getCubes()
Retrieves the olap cubes the schema contains. |
DimensionList |
getDimensions()
Retrieves the shared olap dimensions that the schema contains. |
void |
removeCube(TableCube cube)
Removes a cube from the schema. |
void |
removeDimension(TableDimension dimension)
Removes a dimension from the schema. |
Methods inherited from class com.citra.pivot.table.AbstractTableObject |
---|
getCaption, getCaption, getDescription, getDescription, getID, getName, setCaption, setCaption, setDescription, setDescription, 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 |
---|
protected DimensionList dimensions
protected CubeList cubes
Constructor Detail |
---|
public TableSchema(String name)
Method Detail |
---|
public void addCube(TableCube cube)
cube
- the cube to addpublic void addDimension(TableDimension dimension)
dimension
- the dimension to addpublic TableCube createCube(String name)
name
- the cube's namepublic TableDimension createDimension(String name)
name
- the dimension's namepublic CubeList getCubes()
getCubes
in interface OlapSchema
public DimensionList getDimensions()
getDimensions
in interface OlapSchema
public void removeCube(TableCube cube)
cube
- the cube to removepublic void removeDimension(TableDimension dimension)
dimension
- the dimension to remove
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |