Class SqlConnectionInfo


  • public class SqlConnectionInfo
    extends Object
    This class contains information for connecting to the SQL interface.
    • Constructor Detail

      • SqlConnectionInfo

        public SqlConnectionInfo​(String host,
                                 int port,
                                 String user,
                                 String password)
        Create a new SqlConnectionInfo instance.
        Parameters:
        host - host name
        port - port number
        user - user name
        password - password
    • Method Detail

      • getHost

        public String getHost()
        Get the host name.
        Returns:
        host name
      • getPort

        public int getPort()
        Get the port number.
        Returns:
        port number
      • getUser

        public String getUser()
        Get the user name.
        Returns:
        user name
      • getPassword

        public String getPassword()
        Get the password.
        Returns:
        password
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object