package de.ivu.elect.jee.protokollierung;

import javax.annotation.Nullable;

/**
 */
public class AttributWertVorher {

  private final AttributTyp attributTyp;
  private final String wertVorher;

  public AttributWertVorher(AttributTyp attributTyp, @Nullable String wertVorher) {
    this.attributTyp = attributTyp;
    this.wertVorher = wertVorher;
  }

  public AttributTyp getAttributTyp() {
    return attributTyp;
  }

  @Nullable
  public String getWertVorher() {
    return wertVorher;
  }

  @Override
  public String toString() {
    return "AttributWertVorher{" +
        "attributTyp=" + attributTyp +
        ", wertVorher='" + wertVorher + '\'' +
        '}';
  }
}
