Interface DatamartContext.DataSlice

All Known Implementing Classes:
DMDataSlice
Enclosing interface:
DatamartContext

public static interface DatamartContext.DataSlice
A DataSlice defines a set of filters to be applied to a PA DataSet (Datamart, DataSource...). A typical case is set of FC dimension (field,value) pairs. In RebateManager a combination of a TimePeriod, CustomerGroup and ProductGroup is quite common. Complete generic Filters can be used as well. Inclusions and exclusions are all OR-ed together. They are then combined as (inclusions AND NOT exclusions), i.e. ( (inclusion1 OR inclusion2 OR inclusion3...) AND NOT (exclusion1 OR exclusion2...) ).

When a TimePeriod is used, the slice also needs to know the name of the date dimension field to match to. This field is set in the constructor and is common to all TimePeriods used.