public class DriverTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DriverType<T>
driverType xsd type| Constructor and Description |
|---|
DriverTypeImpl(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) |
| Modifier and Type | Method and Description |
|---|---|
DriverType<T> |
datasourceClass(String datasourceClass)
Sets the
datasource-class element |
DriverType<T> |
driverClass(String driverClass)
Sets the
driver-class element |
String |
getDatasourceClass()
Returns the
datasource-class element |
String |
getDriverClass()
Returns the
driver-class element |
Integer |
getMajorVersion()
Returns the
major-version attribute |
Integer |
getMinorVerion()
Returns the
minor-verion attribute |
String |
getModule()
Returns the
module attribute |
String |
getName()
Returns the
name attribute |
String |
getXaDatasourceClass()
Returns the
xa-datasource-class element |
DriverType<T> |
majorVersion(Integer majorVersion)
Sets the
major-version attribute |
DriverType<T> |
minorVerion(Integer minorVerion)
Sets the
minor-verion attribute |
DriverType<T> |
module(String module)
Sets the
module attribute |
DriverType<T> |
name(String name)
Sets the
name attribute |
DriverType<T> |
removeDatasourceClass()
Removes the
datasource-class element |
DriverType<T> |
removeDriverClass()
Removes the
driver-class element |
DriverType<T> |
removeMajorVersion()
Removes the
major-version attribute |
DriverType<T> |
removeMinorVerion()
Removes the
minor-verion attribute |
DriverType<T> |
removeModule()
Removes the
module attribute |
DriverType<T> |
removeName()
Removes the
name attribute |
DriverType<T> |
removeXaDatasourceClass()
Removes the
xa-datasource-class element |
T |
up() |
DriverType<T> |
xaDatasourceClass(String xaDatasourceClass)
Sets the
xa-datasource-class element |
public DriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public DriverType<T> driverClass(String driverClass)
driver-class elementdriverClass in interface DriverType<T>driverClass - the value for the element driver-classDriverTypepublic String getDriverClass()
driver-class elementgetDriverClass in interface DriverType<T>driver-classpublic DriverType<T> removeDriverClass()
driver-class elementremoveDriverClass in interface DriverType<T>DriverTypepublic DriverType<T> datasourceClass(String datasourceClass)
datasource-class elementdatasourceClass in interface DriverType<T>datasourceClass - the value for the element datasource-classDriverTypepublic String getDatasourceClass()
datasource-class elementgetDatasourceClass in interface DriverType<T>datasource-classpublic DriverType<T> removeDatasourceClass()
datasource-class elementremoveDatasourceClass in interface DriverType<T>DriverTypepublic DriverType<T> xaDatasourceClass(String xaDatasourceClass)
xa-datasource-class elementxaDatasourceClass in interface DriverType<T>xaDatasourceClass - the value for the element xa-datasource-classDriverTypepublic String getXaDatasourceClass()
xa-datasource-class elementgetXaDatasourceClass in interface DriverType<T>xa-datasource-classpublic DriverType<T> removeXaDatasourceClass()
xa-datasource-class elementremoveXaDatasourceClass in interface DriverType<T>DriverTypepublic DriverType<T> name(String name)
name attributename in interface DriverType<T>name - the value for the attribute nameDriverTypepublic String getName()
name attributegetName in interface DriverType<T>namepublic DriverType<T> removeName()
name attributeremoveName in interface DriverType<T>DriverTypepublic DriverType<T> module(String module)
module attributemodule in interface DriverType<T>module - the value for the attribute moduleDriverTypepublic String getModule()
module attributegetModule in interface DriverType<T>modulepublic DriverType<T> removeModule()
module attributeremoveModule in interface DriverType<T>DriverTypepublic DriverType<T> majorVersion(Integer majorVersion)
major-version attributemajorVersion in interface DriverType<T>majorVersion - the value for the attribute major-versionDriverTypepublic Integer getMajorVersion()
major-version attributegetMajorVersion in interface DriverType<T>major-versionpublic DriverType<T> removeMajorVersion()
major-version attributeremoveMajorVersion in interface DriverType<T>DriverTypepublic DriverType<T> minorVerion(Integer minorVerion)
minor-verion attributeminorVerion in interface DriverType<T>minorVerion - the value for the attribute minor-verionDriverTypepublic Integer getMinorVerion()
minor-verion attributegetMinorVerion in interface DriverType<T>minor-verionpublic DriverType<T> removeMinorVerion()
minor-verion attributeremoveMinorVerion in interface DriverType<T>DriverTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.