Class ValueChangeEntity

java.lang.Object
de.fraunhofer.iese.mydata.common.MyDataEntity
de.fraunhofer.iese.mydata.policy.event.history.ValueChangeEntity

@Entity(name="value_change_entity") public class ValueChangeEntity extends MyDataEntity
Stores value change entity identifier comes from policy Object
  • Constructor Details

    • ValueChangeEntity

      public ValueChangeEntity()
      Default constructor for JPA
    • ValueChangeEntity

      public ValueChangeEntity(Policy policy, String blockHash, String blockId, String value)
      Main constructor.
      Parameters:
      policy - policy
      blockHash - hash of value-change block
      blockId - the block id
      value - value of block
  • Method Details

    • equals

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