org.enableit.db.beans
Class Driver

java.lang.Object
  |
  +--org.enableit.db.beans.Driver
All Implemented Interfaces:
java.io.Serializable

public class Driver
extends java.lang.Object
implements java.io.Serializable

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

Constructor Summary
Driver()
           
 
Method Summary
 java.lang.String getClassName()
          Returns the value of field 'className'.
 java.lang.String getName()
          Returns the value of field 'name'.
 java.lang.String getPassword()
          Returns the value of field 'password'.
 java.lang.String getUrl()
          Returns the value of field 'url'.
 java.lang.String getUsername()
          Returns the value of field 'username'.
 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 setClassName(java.lang.String className)
          Sets the value of field 'className'.
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setPassword(java.lang.String password)
          Sets the value of field 'password'.
 void setUrl(java.lang.String url)
          Sets the value of field 'url'.
 void setUsername(java.lang.String username)
          Sets the value of field 'username'.
 void setVersion(java.lang.String version)
          Sets the value of field 'version'.
static org.enableit.db.beans.Driver unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Driver

public Driver()
Method Detail

getClassName

public java.lang.String getClassName()
Returns the value of field 'className'.

Returns:
the value of field 'className'.

getName

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

Returns:
the value of field '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'.

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

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'.

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

setName

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

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

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'.

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.Driver 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.