FilterUtilities

public class FilterUtilities

Methods

findNewestUnclosed

public static <R extends CprBitemporalRecord> R findNewestUnclosed(Collection<R> records)

Find the newest unclosed record from the list of records Records with a missing OriginDate is also removed since they are considered invalid

Parametre:
  • records
  • <R>

getBitemporality

public static CprBitemporality getBitemporality(CprBitemporalRecord record)