package innovimax.mixthem.operation;

public enum AltOperation { 
  DEFAULT_RANDOM_SEED("1789");

  private String value;

  private AltOperation(String value) {
    this.value = value;
  }

  @Override
  public String toString() {
    return this.value;
  }

  public int toInteger() {
    try {
      return Integer.parseInt(this.value);
    } catch (Exception e) {
      return 0;
    }
  }

}

package innovimax.mixthem.operation;

import innovimax.mixthem.arguments.ParamValue;

public enum AltOperation { 
  DEFAULT_RANDOM_SEED(1789);

  private ParamValue value;

  private AltOperation(int value) {
    this.value = ParamValue.createInt(value);
  }

  @Override
  public String toString() {
    return Integer.toString(this.value.asInt());
  }

  public ParamValue getValue() {
    return this.value;
  }

}

Update AltOperation.java