public class DatabaseConnection extends Object implements ExternalResource
Modifier and Type | Field and Description |
---|---|
static String |
PASS_TEMPLATE |
NULL_CONNECTION
Constructor and Description |
---|
DatabaseConnection(com.eviware.soapui.model.ModelItem modelItem,
com.eviware.soapui.config.DatabaseConnectionConfig config,
DefaultDatabaseConnectionContainer container) |
public static final String PASS_TEMPLATE
public DatabaseConnection(com.eviware.soapui.model.ModelItem modelItem, com.eviware.soapui.config.DatabaseConnectionConfig config, DefaultDatabaseConnectionContainer container)
public String getName()
getName
in interface ExternalResource
public void setName(String arg0)
setName
in interface ExternalResource
public com.eviware.soapui.config.DatabaseConnectionConfig getConfig()
public void updateConfig(com.eviware.soapui.config.DatabaseConnectionConfig config)
public boolean isNotYetConfigured()
isNotYetConfigured
in interface ExternalResource
public void setNotYetConfigured(boolean projectNotYetConfigured)
setNotYetConfigured
in interface ExternalResource
public com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer
public DefaultDatabaseConnectionContainer getResourceContainer()
getResourceContainer
in interface ExternalResource
public void setContainer(DefaultDatabaseConnectionContainer container)
public String getDriver()
public void setDriver(String driver)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removeAllPropertyChangeListeners()
public String getPassword()
public void setPassword(String password)
public String getConnectionString()
public void setConnectionString(String connectionString)
public void setConnectionProperties(DatabaseConnectionPropertiesHolder connectionPropertiesHolder)
public void resetConnectionProperties()
public void configureDetails()
configureDetails
in interface ExternalResource
public static boolean isNeededPassword(String connStr)
public boolean isCreateNewWizardCanceled()
isCreateNewWizardCanceled
in interface ExternalResource
public Properties getJdbcConnectionProperties()
public DatabaseConnectionPropertiesHolder getConnectionProperties()
Copyright © 2019. All rights reserved.