|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tools.jdbc.JdbcBeanAdapter
public class JdbcBeanAdapter
Field Summary | |
---|---|
protected JdbcBeanInterface |
defaultbean
|
protected java.lang.String |
jdbcDriver
|
protected java.lang.String |
jdbcPassword
|
protected java.lang.String |
jdbcTable
|
protected java.lang.String |
jdbcURI
|
protected java.lang.String |
jdbcUser
|
protected int |
maxConn
|
protected java.beans.PropertyChangeSupport |
pcs
|
protected boolean |
readonly
|
protected JdbcBeanSerializer |
serializer
|
Constructor Summary | |
---|---|
JdbcBeanAdapter()
Constructor |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Add a PropertyChangeListener to the listener list. |
JdbcBeanInterface |
getDefault()
|
java.lang.String |
getJdbcDriver()
Get the JDBC driver |
java.lang.String |
getJdbcPassword()
Get the password property |
java.lang.String |
getJdbcTable()
Return the name of the SQL table |
java.lang.String |
getJdbcURI()
Get the Jdbc URI |
java.lang.String |
getJdbcUser()
get the Jdbc username property |
int |
getMaxConn()
Get the max number os simultaneous Jdbc connections |
boolean |
getReadOnly()
Is this table read-only? (default is false) |
JdbcBeanSerializer |
getSerializer()
Get our SQL serializer |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Remove a PropertyChangeListener to the listener list. |
void |
setJdbcDriver(java.lang.String jdbcDriver)
Set the JDBC driver |
void |
setJdbcPassword(java.lang.String jdbcPassword)
Set the password property |
void |
setJdbcTable(java.lang.String jdbcTable)
Set the name of the SQL table |
void |
setJdbcURI(java.lang.String jdbcURI)
Set the Jdbc URI |
void |
setJdbcUser(java.lang.String jdbcUser)
Set the Jdbc username property |
void |
setMaxConn(int maxConn)
Set the max number os simultaneous Jdbc connections |
void |
setReadOnly(boolean readonly)
Set the read-only flag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int maxConn
protected java.lang.String jdbcDriver
protected java.lang.String jdbcUser
protected java.lang.String jdbcPassword
protected java.lang.String jdbcURI
protected java.lang.String jdbcTable
protected boolean readonly
protected java.beans.PropertyChangeSupport pcs
protected JdbcBeanSerializer serializer
protected JdbcBeanInterface defaultbean
Constructor Detail |
---|
public JdbcBeanAdapter()
Method Detail |
---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface JdbcBeanInterface
listener
- The PropertyChangeListener to be addedpublic void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface JdbcBeanInterface
listener
- The PropertyChangeListener to be removed.public void setJdbcDriver(java.lang.String jdbcDriver)
setJdbcDriver
in interface JdbcBeanInterface
jdbcDriver
- the jdbc driverpublic java.lang.String getJdbcDriver()
getJdbcDriver
in interface JdbcBeanInterface
public void setJdbcUser(java.lang.String jdbcUser)
setJdbcUser
in interface JdbcBeanInterface
jdbcUser
- the usernamepublic java.lang.String getJdbcUser()
getJdbcUser
in interface JdbcBeanInterface
public void setJdbcPassword(java.lang.String jdbcPassword)
setJdbcPassword
in interface JdbcBeanInterface
jdbcPassword
- the passwordpublic java.lang.String getJdbcPassword()
getJdbcPassword
in interface JdbcBeanInterface
public void setJdbcURI(java.lang.String jdbcURI)
setJdbcURI
in interface JdbcBeanInterface
jdbcURI
- the URI (ie: jdbc:protocol://host/db)public java.lang.String getJdbcURI()
getJdbcURI
in interface JdbcBeanInterface
public void setMaxConn(int maxConn)
setMaxConn
in interface JdbcBeanInterface
maxConn
- the max number of connectionspublic int getMaxConn()
getMaxConn
in interface JdbcBeanInterface
public void setJdbcTable(java.lang.String jdbcTable)
setJdbcTable
in interface JdbcBeanInterface
jdbcTable
- the SQL table namepublic java.lang.String getJdbcTable()
getJdbcTable
in interface JdbcBeanInterface
public void setReadOnly(boolean readonly)
setReadOnly
in interface JdbcBeanInterface
readonly
- public boolean getReadOnly()
getReadOnly
in interface JdbcBeanInterface
public JdbcBeanSerializer getSerializer()
getSerializer
in interface JdbcBeanInterface
public JdbcBeanInterface getDefault()
getDefault
in interface JdbcBeanInterface
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |