org.enableit.db.beans
Class Provider

java.lang.Object
  |
  +--org.enableit.db.beans.AbstractProvider
        |
        +--org.enableit.db.beans.Provider
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ProviderExt

public class Provider
extends AbstractProvider
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Provider()
           
 
Method Summary
 java.lang.String getCreationDate()
          Returns the value of field 'creationDate'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getProductName()
          Returns the value of field 'productName'.
 org.enableit.db.beans.ProviderChoice getProviderChoice()
          Returns the value of field 'providerChoice'.
 java.lang.String getSchemaName()
          Returns the value of field 'schemaName'.
 java.lang.String getVersion()
          Returns the value of field 'version'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setCreationDate(java.lang.String creationDate)
          Sets the value of field 'creationDate'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setProductName(java.lang.String productName)
          Sets the value of field 'productName'.
 void setProviderChoice(org.enableit.db.beans.ProviderChoice providerChoice)
          Sets the value of field 'providerChoice'.
 void setSchemaName(java.lang.String schemaName)
          Sets the value of field 'schemaName'.
 void setVersion(java.lang.String version)
          Sets the value of field 'version'.
static org.enableit.db.beans.Provider unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.enableit.db.beans.AbstractProvider
getDriver, getJdbc2DatasourceName, getPassword, getUrl, getUsername, setDriver, setJdbc2DatasourceName, setPassword, setUrl, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Provider

public Provider()
Method Detail

getCreationDate

public java.lang.String getCreationDate()
Returns the value of field 'creationDate'.

Returns:
the value of field 'creationDate'.

getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
the value of field 'name'.

getProductName

public java.lang.String getProductName()
Returns the value of field 'productName'.

Returns:
the value of field 'productName'.

getProviderChoice

public org.enableit.db.beans.ProviderChoice getProviderChoice()
Returns the value of field 'providerChoice'.

Specified by:
getProviderChoice in class AbstractProvider
Returns:
the value of field 'providerChoice'.

getSchemaName

public java.lang.String getSchemaName()
Returns the value of field 'schemaName'.

Returns:
the value of field 'schemaName'.

getVersion

public java.lang.String getVersion()
Returns the value of field 'version'.

Returns:
the value of field 'version'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setCreationDate

public void setCreationDate(java.lang.String creationDate)
Sets the value of field 'creationDate'.

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

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

setProductName

public void setProductName(java.lang.String productName)
Sets the value of field 'productName'.

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

setProviderChoice

public void setProviderChoice(org.enableit.db.beans.ProviderChoice providerChoice)
Sets the value of field 'providerChoice'.

Specified by:
setProviderChoice in class AbstractProvider
Parameters:
providerChoice - the value of field 'providerChoice'.

setSchemaName

public void setSchemaName(java.lang.String schemaName)
Sets the value of field 'schemaName'.

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

setVersion

public void setVersion(java.lang.String version)
Sets the value of field 'version'.

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

unmarshal

public static org.enableit.db.beans.Provider unmarshal(java.io.Reader reader)
                                                throws org.exolab.castor.xml.MarshalException,
                                                       org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException


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