Interface DriverType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    DriverTypeImpl

    public interface DriverType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the driverType xsd type
    • 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