Class HistoricEventParameter
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.policy.event.history.HistoricEventParameter
-
@Entity(name="historic_event_parameter") public class HistoricEventParameter extends MyDataEntity
Historic event parameter.
-
-
Constructor Summary
Constructors Constructor Description HistoricEventParameter()
Default constructor for JPAHistoricEventParameter(String key, String value)
Constructor.HistoricEventParameter(String value, String key, String jsonPath)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Equals method.static String
hashValue(String value)
Hash generator for all event parameters.-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
HistoricEventParameter
public HistoricEventParameter()
Default constructor for JPA
-
HistoricEventParameter
public HistoricEventParameter(String value, String key, String jsonPath)
Constructor. Value of parameter is hashed and stored.- Parameters:
key
- name of parameter // * @param type type of parametervalue
- value of parameter.jsonPath
-
-
-