Package io.keikai.model.impl
Class PivotDataFieldImpl
java.lang.Object
io.keikai.model.impl.PivotDataFieldImpl
- All Implemented Interfaces:
SPivotDataField,Serializable
Default implementation of
SPivotDataField.- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.keikai.model.SPivotDataField
SPivotDataField.ShowDataAs, SPivotDataField.Subtotal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the index of the base cache field.getName()Returns the display name of this data field.Returns the number format string for this data field.Returns how values are displayed.Returns the subtotal (aggregation) function.voidsetBaseFieldIndex(int baseFieldIndex) voidSets the display name of this data field.voidsetNumberFormat(String format) Sets the number format string for this data field.voidSets how values are displayed.voidsetSubtotal(SPivotDataField.Subtotal subtotal) Sets the subtotal (aggregation) function.
-
Constructor Details
-
PivotDataFieldImpl
-
-
Method Details
-
getName
Description copied from interface:SPivotDataFieldReturns the display name of this data field.- Specified by:
getNamein interfaceSPivotDataField- Returns:
- the name
-
setName
Description copied from interface:SPivotDataFieldSets the display name of this data field.- Specified by:
setNamein interfaceSPivotDataField- Parameters:
name- the name
-
getBaseFieldIndex
public int getBaseFieldIndex()Description copied from interface:SPivotDataFieldReturns the index of the base cache field.- Specified by:
getBaseFieldIndexin interfaceSPivotDataField- Returns:
- the cache field index
-
setBaseFieldIndex
public void setBaseFieldIndex(int baseFieldIndex) -
getSubtotal
Description copied from interface:SPivotDataFieldReturns the subtotal (aggregation) function.- Specified by:
getSubtotalin interfaceSPivotDataField- Returns:
- the subtotal type
-
setSubtotal
Description copied from interface:SPivotDataFieldSets the subtotal (aggregation) function.- Specified by:
setSubtotalin interfaceSPivotDataField- Parameters:
subtotal- the subtotal type
-
getShowDataAs
Description copied from interface:SPivotDataFieldReturns how values are displayed.- Specified by:
getShowDataAsin interfaceSPivotDataField- Returns:
- the show-data-as mode
-
setShowDataAs
Description copied from interface:SPivotDataFieldSets how values are displayed.- Specified by:
setShowDataAsin interfaceSPivotDataField- Parameters:
showAs- the show-data-as mode
-
getNumberFormat
Description copied from interface:SPivotDataFieldReturns the number format string for this data field.- Specified by:
getNumberFormatin interfaceSPivotDataField- Returns:
- the number format, or null if default
-
setNumberFormat
Description copied from interface:SPivotDataFieldSets the number format string for this data field.- Specified by:
setNumberFormatin interfaceSPivotDataField- Parameters:
format- the number format
-