@GenerateDto(dtoPackage="net.datenwerke.rs.base.client.datasources.dto", poso2DtoPostProcessors=DatabaseDatasource2DtoPostProcessor.class, additionalFields=, icon="database") @Indexed public class DatabaseDatasource extends DatasourceDefinition implements ParameterAwareDatasource
FLAG_CONFIGURATION_PROTECTION, FLAG_WRITE_PROTECTION
Constructor and Description |
---|
DatabaseDatasource() |
Modifier and Type | Method and Description |
---|---|
DatasourceDefinitionConfig |
createConfigObject() |
java.lang.String |
escapeString(Injector injector,
java.lang.String string) |
ConnectionPoolConfig |
getConnectionConfig() |
java.lang.String |
getDatabaseDescriptor() |
java.lang.String |
getJdbcProperties() |
java.lang.String |
getPassword() |
java.lang.String |
getUrl() |
java.lang.String |
getUsername() |
java.util.Properties |
parseJdbcProperties() |
void |
setDatabaseDescriptor(java.lang.String databaseDescriptor) |
void |
setJdbcProperties(java.lang.String jdbcProperties) |
void |
setPassword(java.lang.String password) |
void |
setUrl(java.lang.String url) |
void |
setUsername(java.lang.String username) |
boolean |
usesParameter(DatasourceDefinitionConfig config,
java.lang.String key) |
getDescription, getKey, getName, hasChildren, setDescription, setKey, setName, toString
getNodeName, getRootNodeName
getAcl, getOwner, getParentTarget, setAcl, setOwner
addChild, addChild, addFlag, clearFlags, equals, getBaseType, getChildren, getChildrenOfType, getChildrenSorted, getCreatedOn, getDeniedChildren, getDescendants, getDescendants, getFlags, getId, getIdOrOldTransient, getLastUpdated, getManagerClass, getOldTransientId, getOldTransientKey, getParent, getPosition, getRootLine, getSupportedChildren, getVersion, hasChildrenOfType, hasDescendantsOfType, hasFlag, hashCode, idsMatch, isAncestorOf, isConfigurationProtected, isFolder, isRoot, isUpdateLastUpdated, isWriteProtected, removeChild, removeFlag, setChildren, setConfigurationProtection, setCreatedOn, setFlags, setId, setLastUpdated, setOldTransientId, setOldTransientKey, setParent, setPosition, setUpdateLastUpdated, setVersion, setWriteProtection, wouldContainFlag
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getJdbcProperties()
public void setJdbcProperties(java.lang.String jdbcProperties)
public void setDatabaseDescriptor(java.lang.String databaseDescriptor)
public java.lang.String getDatabaseDescriptor()
public java.lang.String escapeString(Injector injector, java.lang.String string)
escapeString
in class DatasourceDefinition
public DatasourceDefinitionConfig createConfigObject()
createConfigObject
in class DatasourceDefinition
public ConnectionPoolConfig getConnectionConfig()
public java.util.Properties parseJdbcProperties()
public boolean usesParameter(DatasourceDefinitionConfig config, java.lang.String key)
usesParameter
in interface ParameterAwareDatasource