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 Summary
Modifier and TypeMethodDescriptiondatasourceClass(String datasourceClass) Sets thedatasource-classelementdriverClass(String driverClass) Sets thedriver-classelementReturns thedatasource-classelementReturns thedriver-classelementReturns themajor-versionattributeReturns theminor-verionattributeReturns themoduleattributegetName()Returns thenameattributeReturns thexa-datasource-classelementmajorVersion(Integer majorVersion) Sets themajor-versionattributeminorVerion(Integer minorVerion) Sets theminor-verionattributeSets themoduleattributeSets thenameattributeRemoves thedatasource-classelementRemoves thedriver-classelementRemoves themajor-versionattributeRemoves theminor-verionattributeRemoves themoduleattributeRemoves thenameattributeRemoves thexa-datasource-classelementxaDatasourceClass(String xaDatasourceClass) Sets thexa-datasource-classelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
driverClass
Sets thedriver-classelement- Parameters:
driverClass- the value for the elementdriver-class- Returns:
- the current instance of
DriverType
-
getDriverClass
String getDriverClass()Returns thedriver-classelement- Returns:
- the node defined for the element
driver-class
-
removeDriverClass
DriverType<T> removeDriverClass()Removes thedriver-classelement- Returns:
- the current instance of
DriverType
-
datasourceClass
Sets thedatasource-classelement- Parameters:
datasourceClass- the value for the elementdatasource-class- Returns:
- the current instance of
DriverType
-
getDatasourceClass
String getDatasourceClass()Returns thedatasource-classelement- Returns:
- the node defined for the element
datasource-class
-
removeDatasourceClass
DriverType<T> removeDatasourceClass()Removes thedatasource-classelement- Returns:
- the current instance of
DriverType
-
xaDatasourceClass
Sets thexa-datasource-classelement- Parameters:
xaDatasourceClass- the value for the elementxa-datasource-class- Returns:
- the current instance of
DriverType
-
getXaDatasourceClass
String getXaDatasourceClass()Returns thexa-datasource-classelement- Returns:
- the node defined for the element
xa-datasource-class
-
removeXaDatasourceClass
DriverType<T> removeXaDatasourceClass()Removes thexa-datasource-classelement- Returns:
- the current instance of
DriverType
-
name
Sets thenameattribute- Parameters:
name- the value for the attributename- Returns:
- the current instance of
DriverType
-
getName
String getName()Returns thenameattribute- Returns:
- the value defined for the attribute
name
-
removeName
DriverType<T> removeName()Removes thenameattribute- Returns:
- the current instance of
DriverType
-
module
Sets themoduleattribute- Parameters:
module- the value for the attributemodule- Returns:
- the current instance of
DriverType
-
getModule
String getModule()Returns themoduleattribute- Returns:
- the value defined for the attribute
module
-
removeModule
DriverType<T> removeModule()Removes themoduleattribute- Returns:
- the current instance of
DriverType
-
majorVersion
Sets themajor-versionattribute- Parameters:
majorVersion- the value for the attributemajor-version- Returns:
- the current instance of
DriverType
-
getMajorVersion
Integer getMajorVersion()Returns themajor-versionattribute- Returns:
- the value defined for the attribute
major-version
-
removeMajorVersion
DriverType<T> removeMajorVersion()Removes themajor-versionattribute- Returns:
- the current instance of
DriverType
-
minorVerion
Sets theminor-verionattribute- Parameters:
minorVerion- the value for the attributeminor-verion- Returns:
- the current instance of
DriverType
-
getMinorVerion
Integer getMinorVerion()Returns theminor-verionattribute- Returns:
- the value defined for the attribute
minor-verion
-
removeMinorVerion
DriverType<T> removeMinorVerion()Removes theminor-verionattribute- Returns:
- the current instance of
DriverType
-