public void setEvents(List<TimelineEvent<E>> events) {
        this.events = events;
    }
Sets events into this model

@param events List&lt;TimelineEvent&lt;E&gt;&gt; list of events
primefaces/src/main/java/org/primefaces/model/timeline/TimelineModel.java