Package org.dashbuilder.dataset
Interface DataColumn
-
- All Known Implementing Classes:
DataColumnImpl
public interface DataColumnA data set is a matrix of values composed by a fixed number of columns.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataColumncloneEmpty()Only clone the column definition.DataColumncloneInstance()Clone the column entirely (definition & values).ColumnGroupgetColumnGroup()The column group settingsColumnTypegetColumnType()DataSetgetDataSet()GroupFunctiongetGroupFunction()The group function settingsStringgetId()StringgetIntervalType()The interval type used to group this column.ObjectgetMaxValue()The maximum column valueObjectgetMinValue()The minimum column valueListgetValues()voidsetColumnGroup(ColumnGroup columnGroup)voidsetColumnType(ColumnType columnType)voidsetGroupFunction(GroupFunction groupFunction)voidsetId(String id)voidsetIntervalType(String type)voidsetMaxValue(Object maxValue)voidsetMinValue(Object minValue)voidsetValues(List values)
-
-
-
Method Detail
-
getDataSet
DataSet getDataSet()
- Returns:
- The DataSet instance associated to this DataColumn.
- See Also:
DataSet
-
getId
String getId()
- Returns:
- The identifier of this DataColumn
-
setId
void setId(String id)
-
getColumnType
ColumnType getColumnType()
- Returns:
- The column's type.
- See Also:
ColumnType
-
setColumnType
void setColumnType(ColumnType columnType)
-
getColumnGroup
ColumnGroup getColumnGroup()
The column group settings- Returns:
- null if this column is not the result of a group operation.
-
setColumnGroup
void setColumnGroup(ColumnGroup columnGroup)
-
getIntervalType
String getIntervalType()
The interval type used to group this column.- Returns:
- null if this column is not the result of a group operation.
-
setIntervalType
void setIntervalType(String type)
-
getMinValue
Object getMinValue()
The minimum column value- Returns:
- null if this column is not the result of a group operation.
-
setMinValue
void setMinValue(Object minValue)
-
getMaxValue
Object getMaxValue()
The maximum column value- Returns:
- null if this column is not the result of a group operation.
-
setMaxValue
void setMaxValue(Object maxValue)
-
getValues
List getValues()
- Returns:
- A List of the values for this DataColumn.
-
setValues
void setValues(List values)
-
getGroupFunction
GroupFunction getGroupFunction()
The group function settings- Returns:
- null if this column is not the result of a group operation.
-
setGroupFunction
void setGroupFunction(GroupFunction groupFunction)
-
cloneEmpty
DataColumn cloneEmpty()
Only clone the column definition.
-
cloneInstance
DataColumn cloneInstance()
Clone the column entirely (definition & values).
-
-