Get the list of occurrences dynamically
Transform the attribute Timeline.occurrences
into a method, returning the list (eventually sorted in time) of the childItems
of the TimeLine
object, which are instances of Occurrence
.
This change eliminates the need for maintaining the list of occurences in the attribute Timeline.occurrences
.