@ThreadSafe public abstract static class Database.ConstructionContext extends Object
Constructor and Description |
---|
Database.ConstructionContext() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getName()
Returns the name of the database.
|
String |
getServerName()
Returns the name of the DBMS server that hosts the database.
|
int |
getServerPort()
Returns the communication port of the DBMS server that hosts the database.
|
abstract String |
getUsername()
Returns the user name for the DBMS access account.
|
String |
getUserPassword()
Returns the user password for the DBMS access account; or null if none is
required.
|
void |
setServerName(String serverName)
Sets the name of the DBMS server.
|
void |
setServerPort(int serverPort)
Sets the port of the PostgreSQL DBMS server.
|
void |
setUserPassword(String userPassword)
Sets the user password.
|
public Database.ConstructionContext()
public String getServerName()
setServerName(String)
@ThreadRestricted(value="constructor") public void setServerName(String serverName)
getServerName()
public int getServerPort()
setServerPort(int)
@ThreadRestricted(value="constructor") public void setServerPort(int serverPort)
getServerPort()
public abstract String getUsername()
public String getUserPassword()
setUserPassword(String)
@ThreadRestricted(value="constructor") public void setUserPassword(String userPassword)
getUserPassword()