Class DatabaseProperties

    • Constructor Detail

      • DatabaseProperties

        public DatabaseProperties()
        Default constructor
      • DatabaseProperties

        public DatabaseProperties​(DatabaseProperties template)
        Copy/clone constructor.
        Parameters:
        template - object to copy
    • Method Detail

      • getDatabaseType

        public String getDatabaseType()
        Return a description of the database type.
        Returns:
        string type name
      • setDatabaseType

        public void setDatabaseType​(String databaseType)
        Set up a description of the database type.
        Parameters:
        databaseType - string type name
      • getDatabaseVersion

        public String getDatabaseVersion()
        Return the version of the database - often this is related to the version of its schemas.
        Returns:
        version name
      • setDatabaseVersion

        public void setDatabaseVersion​(String databaseVersion)
        Set up the version of the database - often this is related to the version of its schemas.
        Parameters:
        databaseVersion - version name
      • getDatabaseInstance

        public String getDatabaseInstance()
        Return the name of this database instance - useful if the same schemas are deployed to multiple database instances.
        Returns:
        instance name
      • setDatabaseInstance

        public void setDatabaseInstance​(String databaseInstance)
        Set up the name of this database instance - useful if the same schemas are deployed to multiple database instances.
        Parameters:
        databaseInstance - instance name
      • getDatabaseImportedFrom

        public String getDatabaseImportedFrom()
        Return the source (typically connection name) of the database information.
        Returns:
        source name
      • setDatabaseImportedFrom

        public void setDatabaseImportedFrom​(String databaseImportedFrom)
        Set up the source (typically connection name) of the database information.
        Parameters:
        databaseImportedFrom - source name
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class DataStoreProperties
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return hash code based on properties.
        Overrides:
        hashCode in class DataStoreProperties
        Returns:
        int