/**
   * @param key
   * @param value
   * @return
   */
  public boolean hasParameter(String key, String value) {
    boolean hasParameter = false;
    for (Pair el : parameterList) {
      if (el.getLeft().equals(key) && el.getRight().equals(value)) {
        hasParameter = true;
      }
    }

    return hasParameter;
  }
  @Override
  public String toString() {
    String s = this.getGroupId() + ZusiProtocolConstants.DELIMITER_GROUP;

    for (Pair<String, String> el : parameterList) {
      s += el.getLeft();
      s += ZusiProtocolConstants.DELIMITER_PARAMETER_VALUE;
      s += el.getRight();
      s += ZusiProtocolConstants.DELIMITER_PARAMETER;
    }

    return s.substring(0, s.length() - 1);
  }