Class DriverTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.datasources10.impl.DriverTypeImpl<T>
All Implemented Interfaces:
DriverType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class DriverTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DriverType<T>
This class implements the driverType xsd type
  • Constructor Details

    • DriverTypeImpl

      public DriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • DriverTypeImpl

      public DriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • driverClass

      public DriverType<T> driverClass(String driverClass)
      Sets the driver-class element
      Specified by:
      driverClass in interface DriverType<T>
      Parameters:
      driverClass - the value for the element driver-class
      Returns:
      the current instance of DriverType
    • getDriverClass

      public String getDriverClass()
      Returns the driver-class element
      Specified by:
      getDriverClass in interface DriverType<T>
      Returns:
      the node defined for the element driver-class
    • removeDriverClass

      public DriverType<T> removeDriverClass()
      Removes the driver-class element
      Specified by:
      removeDriverClass in interface DriverType<T>
      Returns:
      the current instance of DriverType
    • datasourceClass

      public DriverType<T> datasourceClass(String datasourceClass)
      Sets the datasource-class element
      Specified by:
      datasourceClass in interface DriverType<T>
      Parameters:
      datasourceClass - the value for the element datasource-class
      Returns:
      the current instance of DriverType
    • getDatasourceClass

      public String getDatasourceClass()
      Returns the datasource-class element
      Specified by:
      getDatasourceClass in interface DriverType<T>
      Returns:
      the node defined for the element datasource-class
    • removeDatasourceClass

      public DriverType<T> removeDatasourceClass()
      Removes the datasource-class element
      Specified by:
      removeDatasourceClass in interface DriverType<T>
      Returns:
      the current instance of DriverType
    • xaDatasourceClass

      public DriverType<T> xaDatasourceClass(String xaDatasourceClass)
      Sets the xa-datasource-class element
      Specified by:
      xaDatasourceClass in interface DriverType<T>
      Parameters:
      xaDatasourceClass - the value for the element xa-datasource-class
      Returns:
      the current instance of DriverType
    • getXaDatasourceClass

      public String getXaDatasourceClass()
      Returns the xa-datasource-class element
      Specified by:
      getXaDatasourceClass in interface DriverType<T>
      Returns:
      the node defined for the element xa-datasource-class
    • removeXaDatasourceClass

      public DriverType<T> removeXaDatasourceClass()
      Removes the xa-datasource-class element
      Specified by:
      removeXaDatasourceClass in interface DriverType<T>
      Returns:
      the current instance of DriverType
    • name

      public DriverType<T> name(String name)
      Sets the name attribute
      Specified by:
      name in interface DriverType<T>
      Parameters:
      name - the value for the attribute name
      Returns:
      the current instance of DriverType
    • getName

      public String getName()
      Returns the name attribute
      Specified by:
      getName in interface DriverType<T>
      Returns:
      the value defined for the attribute name
    • removeName

      public DriverType<T> removeName()
      Removes the name attribute
      Specified by:
      removeName in interface DriverType<T>
      Returns:
      the current instance of DriverType
    • module

      public DriverType<T> module(String module)
      Sets the module attribute
      Specified by:
      module in interface DriverType<T>
      Parameters:
      module - the value for the attribute module
      Returns:
      the current instance of DriverType
    • getModule

      public String getModule()
      Returns the module attribute
      Specified by:
      getModule in interface DriverType<T>
      Returns:
      the value defined for the attribute module
    • removeModule

      public DriverType<T> removeModule()
      Removes the module attribute
      Specified by:
      removeModule in interface DriverType<T>
      Returns:
      the current instance of DriverType
    • majorVersion

      public DriverType<T> majorVersion(Integer majorVersion)
      Sets the major-version attribute
      Specified by:
      majorVersion in interface DriverType<T>
      Parameters:
      majorVersion - the value for the attribute major-version
      Returns:
      the current instance of DriverType
    • getMajorVersion

      public Integer getMajorVersion()
      Returns the major-version attribute
      Specified by:
      getMajorVersion in interface DriverType<T>
      Returns:
      the value defined for the attribute major-version
    • removeMajorVersion

      public DriverType<T> removeMajorVersion()
      Removes the major-version attribute
      Specified by:
      removeMajorVersion in interface DriverType<T>
      Returns:
      the current instance of DriverType
    • minorVerion

      public DriverType<T> minorVerion(Integer minorVerion)
      Sets the minor-verion attribute
      Specified by:
      minorVerion in interface DriverType<T>
      Parameters:
      minorVerion - the value for the attribute minor-verion
      Returns:
      the current instance of DriverType
    • getMinorVerion

      public Integer getMinorVerion()
      Returns the minor-verion attribute
      Specified by:
      getMinorVerion in interface DriverType<T>
      Returns:
      the value defined for the attribute minor-verion
    • removeMinorVerion

      public DriverType<T> removeMinorVerion()
      Removes the minor-verion attribute
      Specified by:
      removeMinorVerion in interface DriverType<T>
      Returns:
      the current instance of DriverType