All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibz.inf.ontop.injection.impl.OntopSQLCredentialSettingsImpl Maven / Gradle / Ivy

There is a newer version: 5.2.1.1
Show newest version
package it.unibz.inf.ontop.injection.impl;


import it.unibz.inf.ontop.injection.OntopSQLCredentialSettings;
import java.util.Properties;


public class OntopSQLCredentialSettingsImpl extends OntopSQLCoreSettingsImpl implements OntopSQLCredentialSettings {

    private final String jdbcUser;
    private final String jdbcPassword;

    /**
     * Beware: immutable class!
     * 

* Recommended constructor. *

* Changing the Properties object afterwards will not have any effect * on this OntopSQLCredentialSettings object. * * @param userProperties */ protected OntopSQLCredentialSettingsImpl(Properties userProperties) { super(userProperties); jdbcUser = getRequiredProperty(OntopSQLCredentialSettings.JDBC_USER); jdbcPassword = getRequiredProperty(OntopSQLCredentialSettings.JDBC_PASSWORD); } @Override public String getJdbcUser() { return jdbcUser; } public String getJdbcPassword() { return jdbcPassword; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy