@ThreadSafe public static final class VoteServer.DatabaseCC extends Database.ConstructionContext
Constructor and Description |
---|
VoteServer.DatabaseCC(String voteServerName)
Constructs a DatabaseCC.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the database.
|
String |
getUsername()
Returns the user name for the DBMS access account.
|
void |
setName(String name)
Sets the name of the database.
|
void |
setUsername(String username)
Sets the database user name.
|
getServerName, getServerPort, getUserPassword, setServerName, setServerPort, setUserPassword
public VoteServer.DatabaseCC(String voteServerName)
public String getName()
Database.ConstructionContext
getName
in class Database.ConstructionContext
setName(String)
@ThreadRestricted(value="constructor") public void setName(String name)
getName()
public String getUsername()
Database.ConstructionContext
getUsername
in class Database.ConstructionContext
setUsername(String)
@ThreadRestricted(value="constructor") public void setUsername(String username)
getUsername()