public class OtherBookingsGroupBuilder extends AbstractGroupBuilder
| Constructor and Description |
|---|
OtherBookingsGroupBuilder(String name,
boolean income) |
| Modifier and Type | Method and Description |
|---|---|
BookingGroup |
createGroup(WrappedBooking booking)
Creates possible categories for this booking.
|
Group.Type |
getGroupType() |
boolean |
groupShouldBeCreated(WrappedBooking booking)
Asserts wether a categorizer should be created for the given booking.
|
public OtherBookingsGroupBuilder(String name, boolean income)
public boolean groupShouldBeCreated(WrappedBooking booking)
GroupBuildergroupShouldBeCreated in interface GroupBuildergroupShouldBeCreated in class AbstractGroupBuilderbooking - the booking to be groupedpublic BookingGroup createGroup(WrappedBooking booking)
GroupBuilderThe array defines the priority of the categories. If the first entry of the array will result an valid category the others will be invalid for this booking.
createGroup in interface GroupBuildercreateGroup in class AbstractGroupBuilderbooking - the booking to be groupedpublic Group.Type getGroupType()
getGroupType in interface GroupBuildergetGroupType in class AbstractGroupBuilderCopyright © 2018. All rights reserved.