org.jboss.datasources.api
Interface DriverType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
DriverTypeImpl

public interface DriverType<T>
extends Child<T>

This interface defines the contract for the driverType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 DriverType<T> datasourceClass(String datasourceClass)
          Sets the datasource-class element
 DriverType<T> driverClass(String driverClass)
          Sets the driver-class element
 String getDatasourceClass()
          Returns the datasource-class element
 String getDriverClass()
          Returns the driver-class element
 Integer getMajorVersion()
          Returns the major-version attribute
 Integer getMinorVerion()
          Returns the minor-verion attribute
 String getModule()
          Returns the module attribute
 String getName()
          Returns the name attribute
 String getXaDatasourceClass()
          Returns the xa-datasource-class element
 DriverType<T> majorVersion(Integer majorVersion)
          Sets the major-version attribute
 DriverType<T> minorVerion(Integer minorVerion)
          Sets the minor-verion attribute
 DriverType<T> module(String module)
          Sets the module attribute
 DriverType<T> name(String name)
          Sets the name attribute
 DriverType<T> removeDatasourceClass()
          Removes the datasource-class element
 DriverType<T> removeDriverClass()
          Removes the driver-class element
 DriverType<T> removeMajorVersion()
          Removes the major-version attribute
 DriverType<T> removeMinorVerion()
          Removes the minor-verion attribute
 DriverType<T> removeModule()
          Removes the module attribute
 DriverType<T> removeName()
          Removes the name attribute
 DriverType<T> removeXaDatasourceClass()
          Removes the xa-datasource-class element
 DriverType<T> xaDatasourceClass(String xaDatasourceClass)
          Sets the xa-datasource-class element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

driverClass

DriverType<T> driverClass(String driverClass)
Sets the driver-class element

Parameters:
driverClass - the value for the element driver-class
Returns:
the current instance of DriverType

getDriverClass

String getDriverClass()
Returns the driver-class element

Returns:
the node defined for the element driver-class

removeDriverClass

DriverType<T> removeDriverClass()
Removes the driver-class element

Returns:
the current instance of DriverType

datasourceClass

DriverType<T> datasourceClass(String datasourceClass)
Sets the datasource-class element

Parameters:
datasourceClass - the value for the element datasource-class
Returns:
the current instance of DriverType

getDatasourceClass

String getDatasourceClass()
Returns the datasource-class element

Returns:
the node defined for the element datasource-class

removeDatasourceClass

DriverType<T> removeDatasourceClass()
Removes the datasource-class element

Returns:
the current instance of DriverType

xaDatasourceClass

DriverType<T> xaDatasourceClass(String xaDatasourceClass)
Sets the xa-datasource-class element

Parameters:
xaDatasourceClass - the value for the element xa-datasource-class
Returns:
the current instance of DriverType

getXaDatasourceClass

String getXaDatasourceClass()
Returns the xa-datasource-class element

Returns:
the node defined for the element xa-datasource-class

removeXaDatasourceClass

DriverType<T> removeXaDatasourceClass()
Removes the xa-datasource-class element

Returns:
the current instance of DriverType

name

DriverType<T> name(String name)
Sets the name attribute

Parameters:
name - the value for the attribute name
Returns:
the current instance of DriverType

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

DriverType<T> removeName()
Removes the name attribute

Returns:
the current instance of DriverType

module

DriverType<T> module(String module)
Sets the module attribute

Parameters:
module - the value for the attribute module
Returns:
the current instance of DriverType

getModule

String getModule()
Returns the module attribute

Returns:
the value defined for the attribute module

removeModule

DriverType<T> removeModule()
Removes the module attribute

Returns:
the current instance of DriverType

majorVersion

DriverType<T> majorVersion(Integer majorVersion)
Sets the major-version attribute

Parameters:
majorVersion - the value for the attribute major-version
Returns:
the current instance of DriverType

getMajorVersion

Integer getMajorVersion()
Returns the major-version attribute

Returns:
the value defined for the attribute major-version

removeMajorVersion

DriverType<T> removeMajorVersion()
Removes the major-version attribute

Returns:
the current instance of DriverType

minorVerion

DriverType<T> minorVerion(Integer minorVerion)
Sets the minor-verion attribute

Parameters:
minorVerion - the value for the attribute minor-verion
Returns:
the current instance of DriverType

getMinorVerion

Integer getMinorVerion()
Returns the minor-verion attribute

Returns:
the value defined for the attribute minor-verion

removeMinorVerion

DriverType<T> removeMinorVerion()
Removes the minor-verion attribute

Returns:
the current instance of DriverType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.