Question
CLSA 8 "How to maintain data integrity"
Could someone give a couple of examples for the points made in the section "Accounting for temporal data"? Trying to understand the section.
1. What do you mean by "accounting for" or "accommodating" temporal data? Are you enforcing the expiration date/time of the data?
2. In the first paragraph, "The base class can also contain properties suited for lists such as ListType and SortOrder.".....how would this help "account for" or "accommodate" the temporal data?
3. I think a clearer idea of the problem of accounting for temporal data would also make it easier to make sense of the last 2 paragraphs in this section.
Thanks
“Temporal data” is data that varies based on time.Temporal data can retrieved from the database given a timestamp. The database query would return the data as it existed, or will exist in the future, at the indicated time.
As-of-date circumstancing is an example of temporal data in the form of a rule examined by Pega’s rule engine. Regular non-rule data can also be temporal. As opposed to extending Rule-, a simpler base class can be used for regular data that is temporal in nature.
A price list is an example of temporal data. Prices can remain fixed for a year a time after which they are increased by some factor.