Package org.dashbuilder.dataset.group
Class ColumnGroup
- java.lang.Object
-
- org.dashbuilder.dataset.group.ColumnGroup
-
public class ColumnGroup extends Object
A column group definition.
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanascendingOrderprotected StringcolumnIdprotected booleanemptyIntervalsprotected DayOfWeekfirstDayOfWeekprotected MonthfirstMonthOfYearprotected StringintervalSizeprotected intmaxIntervalsprotected StringsourceIdprotected GroupStrategystrategy
-
Constructor Summary
Constructors Constructor Description ColumnGroup()ColumnGroup(String columnId, String newColumnId)ColumnGroup(String columnId, String newColumnId, GroupStrategy strategy)ColumnGroup(String columnId, String newColumnId, GroupStrategy strategy, int maxIntervals, String intervalSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEmptyIntervalsAllowed()ColumnGroupcloneInstance()booleanequals(Object obj)StringgetColumnId()DayOfWeekgetFirstDayOfWeek()MonthgetFirstMonthOfYear()StringgetIntervalSize()intgetMaxIntervals()StringgetSourceId()GroupStrategygetStrategy()booleanisAscendingOrder()booleanisPostEnabled()voidsetAscendingOrder(boolean ascending)voidsetColumnId(String columnId)voidsetEmptyIntervalsAllowed(boolean emptyIntervals)voidsetFirstDayOfWeek(DayOfWeek firstDayOfWeek)voidsetFirstMonthOfYear(Month firstMonthOfYear)voidsetIntervalSize(String intervalSize)voidsetMaxIntervals(int maxIntervals)voidsetPostEnabled(boolean isPostEnabled)voidsetSourceId(String sourceId)voidsetStrategy(GroupStrategy strategy)StringtoString()
-
-
-
Field Detail
-
sourceId
protected String sourceId
-
columnId
protected String columnId
-
strategy
protected GroupStrategy strategy
-
maxIntervals
protected int maxIntervals
-
intervalSize
protected String intervalSize
-
emptyIntervals
protected boolean emptyIntervals
-
ascendingOrder
protected boolean ascendingOrder
-
firstMonthOfYear
protected Month firstMonthOfYear
-
firstDayOfWeek
protected DayOfWeek firstDayOfWeek
-
-
Constructor Detail
-
ColumnGroup
public ColumnGroup()
-
ColumnGroup
public ColumnGroup(String columnId, String newColumnId, GroupStrategy strategy)
-
ColumnGroup
public ColumnGroup(String columnId, String newColumnId, GroupStrategy strategy, int maxIntervals, String intervalSize)
-
-
Method Detail
-
getSourceId
public String getSourceId()
-
setSourceId
public void setSourceId(String sourceId)
-
getColumnId
public String getColumnId()
-
setColumnId
public void setColumnId(String columnId)
-
getStrategy
public GroupStrategy getStrategy()
-
setStrategy
public void setStrategy(GroupStrategy strategy)
-
getMaxIntervals
public int getMaxIntervals()
-
setMaxIntervals
public void setMaxIntervals(int maxIntervals)
-
getIntervalSize
public String getIntervalSize()
-
setIntervalSize
public void setIntervalSize(String intervalSize)
-
areEmptyIntervalsAllowed
public boolean areEmptyIntervalsAllowed()
-
setEmptyIntervalsAllowed
public void setEmptyIntervalsAllowed(boolean emptyIntervals)
-
isAscendingOrder
public boolean isAscendingOrder()
-
setAscendingOrder
public void setAscendingOrder(boolean ascending)
-
getFirstMonthOfYear
public Month getFirstMonthOfYear()
-
setFirstMonthOfYear
public void setFirstMonthOfYear(Month firstMonthOfYear)
-
getFirstDayOfWeek
public DayOfWeek getFirstDayOfWeek()
-
setFirstDayOfWeek
public void setFirstDayOfWeek(DayOfWeek firstDayOfWeek)
-
cloneInstance
public ColumnGroup cloneInstance()
-
isPostEnabled
public boolean isPostEnabled()
-
setPostEnabled
public void setPostEnabled(boolean isPostEnabled)
-
-