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;
    }
  }

}

@@ -31,16 +31,64 @@
 ation;%0A%0A
+import innovimax.mixthem.arguments.ParamValue;%0A%0A
 public e
@@ -133,14 +133,12 @@
 EED(
-%22
 1789
-%22
 );%0A%0A
@@ -147,22 +147,26 @@
 private 
-String
+ParamValue
  value;%0A
@@ -189,22 +189,19 @@
 eration(
-Str
 in
-g
+t
  value) 
@@ -219,21 +219,43 @@
 value = 
+ParamValue.createInt(
 value
+)
 ;%0A  %7D%0A%0A 
@@ -305,16 +305,33 @@
  return 
+Integer.toString(
 this.val
@@ -332,16 +332,25 @@
 is.value
+.asInt())
 ;%0A  %7D%0A%0A 
@@ -361,128 +361,54 @@
 lic 
-int toInteger() %7B%0A    try %7B%0A      return Integer.parseInt(this.value);%0A    %7D catch (Exception e) %7B%0A      return 0;%0A    %7D
+ParamValue getValue() %7B%0A    return this.value;
 %0A  %7D

Update AltOperation.java