@Override
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (!(obj instanceof ServerConnectionType))
      return false;

    ServerConnectionType other = (ServerConnectionType)obj;
    return this.type.equalsIgnoreCase(other.toString());
  }