@InterfaceAudience.Public @InterfaceStability.Evolving public static class TimelineEvents.EventsOfOneEntity extends Object
| Constructor and Description | 
|---|
| EventsOfOneEntity() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addEvent(TimelineEvent event)Add a single event to the existing event list | 
| void | addEvents(List<TimelineEvent> events)Add a list of event to the existing event list | 
| String | getEntityId()Get the entity Id | 
| String | getEntityType()Get the entity type | 
| List<TimelineEvent> | getEvents()Get a list of events | 
| void | setEntityId(String entityId)Set the entity Id | 
| void | setEntityType(String entityType)Set the entity type | 
| void | setEvents(List<TimelineEvent> events)Set the event list to the given list of events | 
public String getEntityId()
public void setEntityId(String entityId)
entityId - the entity Idpublic String getEntityType()
public void setEntityType(String entityType)
entityType - the entity typepublic List<TimelineEvent> getEvents()
public void addEvent(TimelineEvent event)
event - a single eventpublic void addEvents(List<TimelineEvent> events)
events - a list of eventspublic void setEvents(List<TimelineEvent> events)
events - a list of eventsCopyright © 2023 Apache Software Foundation. All rights reserved.