@InterfaceAudience.Public @InterfaceStability.Evolving public class TimelineEvents extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimelineEvents.EventsOfOneEntity
The class that hosts a list of events that are only related to one entity.
|
Constructor and Description |
---|
TimelineEvents() |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(TimelineEvents.EventsOfOneEntity eventsOfOneEntity)
Add a single
TimelineEvents.EventsOfOneEntity instance into the existing list |
void |
addEvents(List<TimelineEvents.EventsOfOneEntity> allEvents)
Add a list of
TimelineEvents.EventsOfOneEntity instances into the existing list |
List<TimelineEvents.EventsOfOneEntity> |
getAllEvents()
Get a list of
TimelineEvents.EventsOfOneEntity instances |
void |
setEvents(List<TimelineEvents.EventsOfOneEntity> allEvents)
Set the list to the given list of
TimelineEvents.EventsOfOneEntity instances |
public List<TimelineEvents.EventsOfOneEntity> getAllEvents()
TimelineEvents.EventsOfOneEntity
instancesTimelineEvents.EventsOfOneEntity
instancespublic void addEvent(TimelineEvents.EventsOfOneEntity eventsOfOneEntity)
TimelineEvents.EventsOfOneEntity
instance into the existing listeventsOfOneEntity
- a single TimelineEvents.EventsOfOneEntity
instancepublic void addEvents(List<TimelineEvents.EventsOfOneEntity> allEvents)
TimelineEvents.EventsOfOneEntity
instances into the existing listallEvents
- a list of TimelineEvents.EventsOfOneEntity
instancespublic void setEvents(List<TimelineEvents.EventsOfOneEntity> allEvents)
TimelineEvents.EventsOfOneEntity
instancesallEvents
- a list of TimelineEvents.EventsOfOneEntity
instancesCopyright © 2024 Apache Software Foundation. All rights reserved.