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 Details

    • 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 parameter
      value - value of parameter.
      jsonPath -
    • HistoricEventParameter

      public HistoricEventParameter(String key, String value)
      Constructor. Value of parameter is hashed and stored.
      Parameters:
      key - name of parameter
      value - value of parameter.
  • Method Details

    • hashValue

      public static String hashValue(String value)
      Hash generator for all event parameters.
      Parameters:
      value - object to be hashed
      Returns:
      Hash value in String
    • equals

      public boolean equals(Object obj)
      Equals method.
      Overrides:
      equals in class Object
      Parameters:
      obj - comparing object
      Returns: