class ValueAdjustment implements ImmutableBean, Serializable {

  @Override
  public boolean equals(Object obj) {
    if (obj == this) {
      return true;
    }
    if (obj != null && obj.getClass() == this.getClass()) {
      ValueAdjustment other = (ValueAdjustment) obj;
      return JodaBeanUtils.equal(modifyingValue, other.modifyingValue) &&
          JodaBeanUtils.equal(type, other.type);
    }
    return false;
  }

  private  ValueAdjustment(
      double modifyingValue,
      ValueAdjustmentType type);

}