last updated 27 August 2021
Grouping items by filters
Advanced topic - requires coding skills
The CLEM model relies on the ability to filter groups of individuals to specify who an activity will be performed on, or who can perform an activity. These individuals relate to people (Labour) and ruminants.
Filtering (see Filtering and sorting individuals) is achieved by providing a list of Filter Groups with associated filters where each filter is additive and all must be true for an individual to be included.
The ListFilterExtension class provides filtering for lists of IFilterable (currently LabourType, Ruminant and OtherAnimal). This also allows male and female ruminant properties to be included.