Class HistoricEvent
java.lang.Object
de.fraunhofer.iese.mydata.policy.event.history.HistoricEvent
-
Constructor Summary
ConstructorDescriptionDefault constructor for JPA.HistoricEvent
(Event event, Set<HistoricEventTrackItem> trackItems) New instance from event. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHistoricEventParameter
(HistoricEventParameter historicEventParameter) Add historic event parameter.void
removeHistoricEventParameter
(HistoricEventParameter historicEventParameter) Remove historic event parameter.void
setHistoricEventParameters
(Collection<HistoricEventParameter> historicEventParameters)
-
Constructor Details
-
HistoricEvent
public HistoricEvent()Default constructor for JPA. -
HistoricEvent
New instance from event.- Parameters:
event
- event to be storedtrackItems
- parameters to be saved
-
-
Method Details
-
addHistoricEventParameter
Add historic event parameter.- Parameters:
historicEventParameter
- parameter to be added
-
removeHistoricEventParameter
Remove historic event parameter. Not used yet as it depends from the Garbage strategy TO BE DONE- Parameters:
historicEventParameter
- parameter to be removed
-
getHistoricEventParameters
-
setHistoricEventParameters
-