-
- All Implemented Interfaces:
public class DatabaseConfig
Data holder with database config values.
-
-
Method Summary
Modifier and Type Method Description DataBaseType
getDatabaseType()
void
setDatabaseType(DataBaseType databaseType)
String
getHost()
void
setHost(String host)
int
getPort()
void
setPort(int port)
String
getDatabase()
void
setDatabase(String database)
String
getUsername()
void
setUsername(String username)
String
getPassword()
void
setPassword(String password)
void
setDebug(boolean debug)
boolean
isDebug()
-
-
Method Detail
-
getDatabaseType
DataBaseType getDatabaseType()
-
setDatabaseType
void setDatabaseType(DataBaseType databaseType)
-
getPort
int getPort()
-
setPort
void setPort(int port)
-
getDatabase
String getDatabase()
-
setDatabase
void setDatabase(String database)
-
getUsername
String getUsername()
-
setUsername
void setUsername(String username)
-
getPassword
String getPassword()
-
setPassword
void setPassword(String password)
-
setDebug
void setDebug(boolean debug)
-
isDebug
boolean isDebug()
-
-
-
-