|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.elegantj.data.editors.ConnectionProperties
This utitlity class provides properties for making connection with database.
| Constructor Summary | |
ConnectionProperties()
|
|
ConnectionProperties(java.lang.String url,
java.lang.String driver,
java.lang.String user,
java.lang.String pswd)
Creates a ConnectionProperties with specified url, driver class name, user name and password. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns the clone of the caller object |
boolean |
equals(java.lang.Object obj)
Compares the specified Object with this ConnectionProperties for equality. |
java.lang.String |
getDriver()
Returns the driver class name to connect with the database |
java.lang.String |
getPassword()
Returns the password to connect with the database |
java.lang.String |
getURL()
Returns the url string to connect with the database |
java.lang.String |
getUser()
Returns the user name to connect with the database |
java.lang.String |
toString()
Converts the object to a string |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConnectionProperties()
public ConnectionProperties(java.lang.String url,
java.lang.String driver,
java.lang.String user,
java.lang.String pswd)
url - the string contains the database url protocol:subprotocol:dsn name
( like jdbc:odbc:DSN )driver - the string contains the driver class name for the database
( like jdbc.odbc.JdbcOdbcDriver )user - the string contains the database user namepswd - the string contains the database login password| Method Detail |
public java.lang.String getURL()
public java.lang.String getDriver()
public java.lang.String getUser()
public java.lang.String getPassword()
public java.lang.Object clone()
public java.lang.String toString()
public boolean equals(java.lang.Object obj)
obj - the Object to be compared for equality with this ConnectionProperties.
|
ElegantJ Data Tables Java API Specification v1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||