org.apache.ws.jaxme.pm.generator.jdbc
Class ConnectionDetails
- XsObject
public class ConnectionDetails
asXsQName , asXsQName , getContext , getLocator , getNamespaceSupport , getObjectFactory , getParentObject , getXsESchema , isTopLevelObject , isValidated , validate |
cloneFrom
public void cloneFrom(ConnectionDetails pFrom)
Copies the given details into the current.
getDatasource
public String getDatasource()
Returns the JDBC datasource.
getDriver
public String getDriver()
Returns the JDBC driver.
getPassword
public String getPassword()
Returns the JDBC password.
getUrl
public String getUrl()
Returns the JDBC URL.
getUser
public String getUser()
Returns the JDBC user.
isUsingDatasource
public Boolean isUsingDatasource()
Returns, whether a JDBC datasource is being used. By default
the JDBC driver and URL are used.
setDatasource
public void setDatasource(String pDatasource)
Sets the JDBC datasource.
setDbMode
public void setDbMode(String pMode)
setDriver
public void setDriver(String pDriver)
Sets the JDBC driver.
setPassword
public void setPassword(String pPassword)
Sets the JDBC password.
setUrl
public void setUrl(String pUrl)
Sets the JDBC URL.
setUser
public void setUser(String pUser)
Sets the JDBC user.
setUsingDatasource
public void setUsingDatasource(Boolean pUsingDatasource)
Sets, whether a JDBC datasource is being used. By default
the JDBC driver and URL are used.
validate
public void validate()
throws SAXException
Validates the internal state of the type, attribute, element,
or whatever object.
- validate in interface XsObject
- validate in interface XsObjectImpl