Class DriverTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.datasources13.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 Summary
ConstructorsConstructorDescriptionDriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) DriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
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-classelementup()xaDatasourceClass(String xaDatasourceClass) Sets thexa-datasource-classelement
-
Constructor Details
-
DriverTypeImpl
-
DriverTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
driverClass
Sets thedriver-classelement- Specified by:
driverClassin interfaceDriverType<T>- Parameters:
driverClass- the value for the elementdriver-class- Returns:
- the current instance of
DriverType
-
getDriverClass
Returns thedriver-classelement- Specified by:
getDriverClassin interfaceDriverType<T>- Returns:
- the node defined for the element
driver-class
-
removeDriverClass
Removes thedriver-classelement- Specified by:
removeDriverClassin interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-
datasourceClass
Sets thedatasource-classelement- Specified by:
datasourceClassin interfaceDriverType<T>- Parameters:
datasourceClass- the value for the elementdatasource-class- Returns:
- the current instance of
DriverType
-
getDatasourceClass
Returns thedatasource-classelement- Specified by:
getDatasourceClassin interfaceDriverType<T>- Returns:
- the node defined for the element
datasource-class
-
removeDatasourceClass
Removes thedatasource-classelement- Specified by:
removeDatasourceClassin interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-
xaDatasourceClass
Sets thexa-datasource-classelement- Specified by:
xaDatasourceClassin interfaceDriverType<T>- Parameters:
xaDatasourceClass- the value for the elementxa-datasource-class- Returns:
- the current instance of
DriverType
-
getXaDatasourceClass
Returns thexa-datasource-classelement- Specified by:
getXaDatasourceClassin interfaceDriverType<T>- Returns:
- the node defined for the element
xa-datasource-class
-
removeXaDatasourceClass
Removes thexa-datasource-classelement- Specified by:
removeXaDatasourceClassin interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-
name
Sets thenameattribute- Specified by:
namein interfaceDriverType<T>- Parameters:
name- the value for the attributename- Returns:
- the current instance of
DriverType
-
getName
Returns thenameattribute- Specified by:
getNamein interfaceDriverType<T>- Returns:
- the value defined for the attribute
name
-
removeName
Removes thenameattribute- Specified by:
removeNamein interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-
module
Sets themoduleattribute- Specified by:
modulein interfaceDriverType<T>- Parameters:
module- the value for the attributemodule- Returns:
- the current instance of
DriverType
-
getModule
Returns themoduleattribute- Specified by:
getModulein interfaceDriverType<T>- Returns:
- the value defined for the attribute
module
-
removeModule
Removes themoduleattribute- Specified by:
removeModulein interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-
majorVersion
Sets themajor-versionattribute- Specified by:
majorVersionin interfaceDriverType<T>- Parameters:
majorVersion- the value for the attributemajor-version- Returns:
- the current instance of
DriverType
-
getMajorVersion
Returns themajor-versionattribute- Specified by:
getMajorVersionin interfaceDriverType<T>- Returns:
- the value defined for the attribute
major-version
-
removeMajorVersion
Removes themajor-versionattribute- Specified by:
removeMajorVersionin interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-
minorVerion
Sets theminor-verionattribute- Specified by:
minorVerionin interfaceDriverType<T>- Parameters:
minorVerion- the value for the attributeminor-verion- Returns:
- the current instance of
DriverType
-
getMinorVerion
Returns theminor-verionattribute- Specified by:
getMinorVerionin interfaceDriverType<T>- Returns:
- the value defined for the attribute
minor-verion
-
removeMinorVerion
Removes theminor-verionattribute- Specified by:
removeMinorVerionin interfaceDriverType<T>- Returns:
- the current instance of
DriverType
-