@Override
 public boolean equals(Object obj) {
   if (null == obj || !(obj instanceof ConnectionParams)) return false;
   if (this == obj) return true;
   ConnectionParams o = (ConnectionParams) obj;
   return isEqualsNullable(hostName, o.hostName)
       && getPortNumber() == o.getPortNumber()
       && useSsh == o.useSsh
       && isEqualsNullable(sshHostName, o.sshHostName)
       && getSshPortNumber() == o.getSshPortNumber()
       && isEqualsNullable(sshUserName, o.sshUserName);
 }