Class HistoricEvent

java.lang.Object
de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent

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

    • 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 Details

    • 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
    • getHistoricEventParameters

      public Collection<HistoricEventParameter> getHistoricEventParameters()
    • setHistoricEventParameters

      public void setHistoricEventParameters(Collection<HistoricEventParameter> historicEventParameters)