code: @Override
    public String toMavenString()
    {
      String mavenString = "";
      switch (operator) {
        case "<=":
          mavenString = "(,%s]";
          break;
        case "<":
          mavenString = "(,%s)";
          break;
        case "==":
          mavenString = "[%s]";
          break;
        case ">=":
          mavenString = "[%s,)";
          break;
        case ">":
          mavenString = "(%s,)";
          break;
        default:
          toString();
      }
      return String.format(mavenString, version);
    }
docs: /*
  (non-Javadoc)
  @see net.ossindex.version.impl.IVersionRange#toMavenString()