AbstractObjectGrouper
, DateDayOfMonthGrouper
, DateDayOfWeekGrouper
, DateDayOfWeekInMonthGrouper
, DateDayOfYearGrouper
, DateGrouper
, DateMonthGrouper
, DateQuarterGrouper
, DateWeekOfMonthGrouper
, DateWeekOfYearGrouper
, DateYearGrouper
, DefaultObjectGrouper
public interface ObjectGrouper
AbstractObjectGrouper
if you want to create your own
ObjectGrouper in case we add new methods to this interface due to requirement changes.Modifier and Type | Method | Description |
---|---|---|
ComparatorContext |
getComparatorContext() |
Gets the comparator context for the value returned from this object grouper.
|
ConverterContext |
getConverterContext() |
Gets the converter context for the value returned from this object grouper.
|
String |
getName() |
Gets the name of this object grouper.
|
Class<?> |
getType() |
Gets the group value type.
|
Object |
getValue(Object value) |
Gets the group value after this value is grouped.
|
Object getValue(Object value)
getType()
.value
- the valueClass<?> getType()
String getName()
ConverterContext getConverterContext()
getValue(Object)
method to String
so that it can be displayed somewhere.ComparatorContext getComparatorContext()
getValue(Object)
method whenever
sorting is needed.