|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.ury.backend.config.Database
public class Database
A Database Server configuration
Constructor Summary | |
---|---|
Database(java.lang.String host,
int port,
java.lang.String db)
Create a database object |
Method Summary | |
---|---|
java.lang.String |
getDb()
Get the name of the database |
java.lang.String |
getHost()
Get the hostname of the database server |
int |
getPort()
Get the port the database server is running on |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Database(java.lang.String host, int port, java.lang.String db)
host
- The hostname of the database serverport
- The port that the database server listens ondb
- The name of the database on the serverMethod Detail |
---|
public java.lang.String getHost()
public int getPort()
public java.lang.String getDb()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |