/**
   * Enum for value.
   *
   * @param value the value
   * @return the data type enum
   */
  public static OperationalDataTypeEnum enumForValue(Integer value) {
    for (OperationalDataTypeEnum e : values()) {
      if (e.getValue().equals(value)) {
        return e;
      }
    }

    return null;
  }
  /**
   * Gets the valid values.
   *
   * @return the valid values
   */
  public static String getValidValues() {
    OperationalDataTypeEnum[] enums = OperationalDataTypeEnum.class.getEnumConstants();

    String comma = "";
    StringBuilder enumValue = new StringBuilder();
    for (OperationalDataTypeEnum i : enums) {
      enumValue.append(comma + i.getValue());
      comma = ", ";
    }
    return enumValue.toString();
  }