AbstractObjectGrouper, DateDayOfMonthGrouper, DateDayOfWeekGrouper, DateDayOfWeekInMonthGrouper, DateDayOfYearGrouper, DateGrouper, DateMonthGrouper, DateQuarterGrouper, DateWeekOfMonthGrouper, DateWeekOfYearGrouper, DateYearGrouper, DefaultObjectGrouperpublic 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.
|
java.lang.String |
getName() |
Gets the name of this object grouper.
|
java.lang.Class<?> |
getType() |
Gets the group value type.
|
java.lang.Object |
getValue(java.lang.Object value) |
Gets the group value after this value is grouped.
|
java.lang.Object getValue(java.lang.Object value)
getType().value - the valuejava.lang.Class<?> getType()
java.lang.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.