org.enableit.db.beans
Class AbstractProvider

java.lang.Object
  |
  +--org.enableit.db.beans.AbstractProvider
Direct Known Subclasses:
Provider

public abstract class AbstractProvider
extends java.lang.Object

Convenience methods to enhance Castor's generated behaviour.

Author:
Tim Stephenson

Constructor Summary
AbstractProvider()
           
 
Method Summary
 org.enableit.db.beans.Driver getDriver()
          Returns the value of field 'driver'.
 java.lang.String getJdbc2DatasourceName()
          Returns the value of field 'jdbc2-datasource-name'.
 java.lang.String getPassword()
          Returns the value of field 'password'.
abstract  org.enableit.db.beans.ProviderChoice getProviderChoice()
           
 java.lang.String getUrl()
          Returns the value of field 'url'.
 java.lang.String getUsername()
          Returns the value of field 'username'.
 void setDriver(org.enableit.db.beans.Driver driver)
          Sets the value of field 'driver'.
 void setJdbc2DatasourceName(java.lang.String jdbc2DatasourceName)
           
 void setPassword(java.lang.String password)
          Sets the value of field 'password'.
abstract  void setProviderChoice(org.enableit.db.beans.ProviderChoice pc)
           
 void setUrl(java.lang.String url)
          Sets the value of field 'url'.
 void setUsername(java.lang.String username)
          Sets the value of field 'username'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProvider

public AbstractProvider()
Method Detail

getProviderChoice

public abstract org.enableit.db.beans.ProviderChoice getProviderChoice()
Returns:
ProviderChoice

setProviderChoice

public abstract void setProviderChoice(org.enableit.db.beans.ProviderChoice pc)

getDriver

public org.enableit.db.beans.Driver getDriver()
Returns the value of field 'driver'.

Returns:
the value of field 'driver'.

getJdbc2DatasourceName

public java.lang.String getJdbc2DatasourceName()
Returns the value of field 'jdbc2-datasource-name'.

Returns:
the value of field 'jdbc2-datasource-name'.

getPassword

public java.lang.String getPassword()
Returns the value of field 'password'.

Returns:
the value of field 'password'.

getUrl

public java.lang.String getUrl()
Returns the value of field 'url'.

Returns:
the value of field 'url'.

getUsername

public java.lang.String getUsername()
Returns the value of field 'username'.

Returns:
the value of field 'username'.

setDriver

public void setDriver(org.enableit.db.beans.Driver driver)
Sets the value of field 'driver'.

Parameters:
driver - the value of field 'driver'.

setJdbc2DatasourceName

public void setJdbc2DatasourceName(java.lang.String jdbc2DatasourceName)

setPassword

public void setPassword(java.lang.String password)
Sets the value of field 'password'.

Parameters:
password - the value of field 'password'.

setUrl

public void setUrl(java.lang.String url)
Sets the value of field 'url'.

Parameters:
url - the value of field 'url'.

setUsername

public void setUsername(java.lang.String username)
Sets the value of field 'username'.

Parameters:
username - the value of field 'username'.


Copyright © 1999-2004 enableIT.org. All Rights Reserved.