Package io.keikai.model.impl
Class PivotCacheFieldImpl
java.lang.Object
io.keikai.model.impl.PivotCacheFieldImpl
- All Implemented Interfaces:
SPivotCacheField,Serializable
Default implementation of
SPivotCacheField.- Since:
- 7.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSharedItem(Object value) Adds a shared item value.Returns the grouping configuration for this field, or null if ungrouped.intgetIndex()Returns the zero-based index of this field in the cache.getName()Returns the field name (typically the column header).Returns the unique (shared) values found in this field.booleanReturns whether this field contains date data.booleanReturns whether this field contains numeric data.booleanReturns whether this field contains text data.voidsetDateField(boolean dateField) voidsetGrouping(SPivotFieldGrouping grouping) voidsetNumericField(boolean numericField) voidsetTextField(boolean textField)
-
Constructor Details
-
PivotCacheFieldImpl
-
-
Method Details
-
getName
Description copied from interface:SPivotCacheFieldReturns the field name (typically the column header).- Specified by:
getNamein interfaceSPivotCacheField- Returns:
- the field name
-
getIndex
public int getIndex()Description copied from interface:SPivotCacheFieldReturns the zero-based index of this field in the cache.- Specified by:
getIndexin interfaceSPivotCacheField- Returns:
- the field index
-
isNumericField
public boolean isNumericField()Description copied from interface:SPivotCacheFieldReturns whether this field contains numeric data.- Specified by:
isNumericFieldin interfaceSPivotCacheField- Returns:
- true if numeric
-
setNumericField
public void setNumericField(boolean numericField) -
isDateField
public boolean isDateField()Description copied from interface:SPivotCacheFieldReturns whether this field contains date data.- Specified by:
isDateFieldin interfaceSPivotCacheField- Returns:
- true if date
-
setDateField
public void setDateField(boolean dateField) -
isTextField
public boolean isTextField()Description copied from interface:SPivotCacheFieldReturns whether this field contains text data.- Specified by:
isTextFieldin interfaceSPivotCacheField- Returns:
- true if text
-
setTextField
public void setTextField(boolean textField) -
getGrouping
Description copied from interface:SPivotCacheFieldReturns the grouping configuration for this field, or null if ungrouped.- Specified by:
getGroupingin interfaceSPivotCacheField- Returns:
- the grouping, or null
-
setGrouping
-