Class DatabaseConnectionInfo


  • public class DatabaseConnectionInfo
    extends java.lang.Object
    Connection info object to be used to connect to a database.
    Since:
    1.3.0
    • Constructor Detail

      • DatabaseConnectionInfo

        public DatabaseConnectionInfo()
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Returns the database path.
        Returns:
        the database path
        Since:
        1.4.0
      • setPath

        public DatabaseConnectionInfo setPath​(java.lang.String path)
        Sets the database path.
        Parameters:
        path - the database path
        Returns:
        an instance of this object for use as a builder pattern
        Since:
        1.4.0
      • getUsername

        public java.lang.String getUsername()
        Returns the database username.
        Returns:
        the database username
        Since:
        1.4.0
      • setUsername

        public DatabaseConnectionInfo setUsername​(java.lang.String username)
        Sets the database username.
        Parameters:
        username - the database username
        Returns:
        an instance of this object for use as a builder pattern
        Since:
        1.4.0
      • getPassword

        public java.lang.String getPassword()
        Returns the database password.
        Returns:
        the database password
        Since:
        1.4.0
      • setPassword

        public DatabaseConnectionInfo setPassword​(java.lang.String password)
        Sets the database password.
        Parameters:
        password - the database password
        Returns:
        an instance of this object for use as a builder pattern
        Since:
        1.4.0
      • getDBType

        public DatabaseType getDBType()
        Returns the database type.
        Returns:
        the database type
        Since:
        1.4.0
      • setDBType

        public DatabaseConnectionInfo setDBType​(DatabaseType dbType)
        Sets the database type.
        Parameters:
        dbType - the database type
        Returns:
        an instance of this object for use as a builder pattern
        Since:
        1.4.0
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object