|
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.TableMember
com.citra.pivot.table.TableMeasure
com.citra.pivot.table.StandardTableMeasure
public class StandardTableMeasure
StandardTableMeasure represents a standard measure of a table datasource.
Field Summary | |
---|---|
protected com.citra.pivot.table.DefaultTableMeasureDefinition |
definition
the measure's definition |
Fields inherited from class com.citra.pivot.table.TableMeasure |
---|
dataType, type |
Fields inherited from class com.citra.pivot.table.TableMember |
---|
level |
Fields inherited from class com.citra.pivot.table.AbstractTableObject |
---|
caption, description, id, name |
Method Summary | |
---|---|
StandardMeasureAggregator |
getAggregator(TableDimension dimension)
Retrieves the aggregator assigned to a given dimension. |
TableLeafAggregator |
getLeafAggregator()
Retrieves the object that aggregates the leaf members of the datasource. |
int |
getPriority(TableDimension dimension)
Determines the aggregation priority for a given dimension. |
void |
setAggregator(StandardMeasureAggregator aggregator,
TableDimension dimension)
Assigns an aggregator to a given dimension with a default aggregation priority. |
void |
setAggregator(StandardMeasureAggregator aggregator,
TableDimension dimension,
int priority)
Assigns an aggregator to a given dimension with a specified aggregation priority. |
void |
setLeafAggregator(TableLeafAggregator leafAggregator)
Assigns the object that aggregates the leaf members of the datasource. |
void |
setPriority(TableDimension dimension,
int priority)
Assigns the aggregation priority for the given dimension. |
Methods inherited from class com.citra.pivot.table.TableMeasure |
---|
getDataType, getJavaDataType |
Methods inherited from class com.citra.pivot.table.TableMember |
---|
getLevel, getMemberCount |
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.OlapMember |
---|
getLevel, getMemberCount |
Methods inherited from interface com.citra.pivot.olap.metadata.OlapObject |
---|
getCaption, getDescription, getID, getName |
Field Detail |
---|
protected com.citra.pivot.table.DefaultTableMeasureDefinition definition
Method Detail |
---|
public StandardMeasureAggregator getAggregator(TableDimension dimension)
dimension
- the dimension whose aggregator is returned
public TableLeafAggregator getLeafAggregator()
public int getPriority(TableDimension dimension)
dimension
- the dimension for which the aggregation priority is returned
public void setAggregator(StandardMeasureAggregator aggregator, TableDimension dimension)
aggregator
- the aggregator to assigndimension
- the dimension to which an aggregator is assignedpublic void setAggregator(StandardMeasureAggregator aggregator, TableDimension dimension, int priority)
aggregator
- the aggregator to assigndimension
- the dimension to which an aggregator is assignedpriority
- the dimension's aggregation prioritypublic void setLeafAggregator(TableLeafAggregator leafAggregator)
leafAggregator
- the aggregator for the datasource's leaf memberspublic void setPriority(TableDimension dimension, int priority)
dimension
- the dimension for which a aggregation priority is assignedpriority
- the aggregation priority to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |