Class HistoricEvent


  • @Entity(name="historic_event")
    public class HistoricEvent
    extends Object
    • Constructor Detail

      • HistoricEvent

        public HistoricEvent()
        Default constructor for JPA.
      • HistoricEvent

        public HistoricEvent​(Event event,
                             Set<HistoricEventTrackItem> trackItems)
        New instance from event.
        Parameters:
        event - event to be stored
        trackItems - parameters to be saved
    • Method Detail

      • addHistoricEventParameter

        public void addHistoricEventParameter​(HistoricEventParameter historicEventParameter)
        Add historic event parameter.
        Parameters:
        historicEventParameter - parameter to be added
      • removeHistoricEventParameter

        public void removeHistoricEventParameter​(HistoricEventParameter historicEventParameter)
        Remove historic event parameter. Not used yet as it depends from the Garbage strategy TO BE DONE
        Parameters:
        historicEventParameter - parameter to be removed