sageserpent-open / plutonium

CQRS providing bitemporal object modelling for Java POJOs and Scala too.
MIT License
5 stars 0 forks source link

Searching for Items across Business Time #8

Open sageserpent-open opened 8 years ago

sageserpent-open commented 8 years ago

This generalises the existing notion of searching for an item via id and upper type bound for a given scope (i.e. with the business time and revision fixed) to searching with id, upper type bound and across some business time span, possibly starting with negative infinity and / or ending with positive infinity.

Not sure what should be returned for each item - perhaps a synopsis of the item's lifespan. This of course implies that not only can several items of different types be returned, but also multiple incarnations sharing the same type, or having overlapping types.