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 thedriverTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DriverType<T>datasourceClass(String datasourceClass)Sets thedatasource-classelementDriverType<T>driverClass(String driverClass)Sets thedriver-classelementStringgetDatasourceClass()Returns thedatasource-classelementStringgetDriverClass()Returns thedriver-classelementIntegergetMajorVersion()Returns themajor-versionattributeIntegergetMinorVerion()Returns theminor-verionattributeStringgetModule()Returns themoduleattributeStringgetName()Returns thenameattributeStringgetXaDatasourceClass()Returns thexa-datasource-classelementDriverType<T>majorVersion(Integer majorVersion)Sets themajor-versionattributeDriverType<T>minorVerion(Integer minorVerion)Sets theminor-verionattributeDriverType<T>module(String module)Sets themoduleattributeDriverType<T>name(String name)Sets thenameattributeDriverType<T>removeDatasourceClass()Removes thedatasource-classelementDriverType<T>removeDriverClass()Removes thedriver-classelementDriverType<T>removeMajorVersion()Removes themajor-versionattributeDriverType<T>removeMinorVerion()Removes theminor-verionattributeDriverType<T>removeModule()Removes themoduleattributeDriverType<T>removeName()Removes thenameattributeDriverType<T>removeXaDatasourceClass()Removes thexa-datasource-classelementDriverType<T>xaDatasourceClass(String xaDatasourceClass)Sets thexa-datasource-classelement
-
-
-
Method Detail
-
driverClass
DriverType<T> driverClass(String 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
DriverType<T> datasourceClass(String 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
DriverType<T> xaDatasourceClass(String 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
DriverType<T> name(String 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
DriverType<T> module(String 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
DriverType<T> majorVersion(Integer 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
DriverType<T> minorVerion(Integer 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
-
-