package de.ivu.elect;

public class EmlHashCodePart {

  private final int position;

  private final String text;

  private final String replacement;

  public EmlHashCodePart(int position, String text, String replacement) {
    this.position = position;
    this.text = text;
    this.replacement = replacement;
  }

  public int getPosition() {
    return position;
  }

  public String getText() {
    return text;
  }

  public String getReplacement() {
    return replacement;
  }

  @Override
  public String toString() {
    return "EmlHashCodePart{" +
        "position=" + position +
        ", text='" + text + '\'' +
        ", replacement='" + replacement + '\'' +
        '}';
  }
}
