public class DriverTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DriverType<T>
driverType
xsd typeConstructor 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-class
DriverType
public String getDriverClass()
driver-class
elementgetDriverClass
in interface DriverType<T>
driver-class
public DriverType<T> removeDriverClass()
driver-class
elementremoveDriverClass
in interface DriverType<T>
DriverType
public DriverType<T> datasourceClass(String datasourceClass)
datasource-class
elementdatasourceClass
in interface DriverType<T>
datasourceClass
- the value for the element datasource-class
DriverType
public String getDatasourceClass()
datasource-class
elementgetDatasourceClass
in interface DriverType<T>
datasource-class
public DriverType<T> removeDatasourceClass()
datasource-class
elementremoveDatasourceClass
in interface DriverType<T>
DriverType
public DriverType<T> xaDatasourceClass(String xaDatasourceClass)
xa-datasource-class
elementxaDatasourceClass
in interface DriverType<T>
xaDatasourceClass
- the value for the element xa-datasource-class
DriverType
public String getXaDatasourceClass()
xa-datasource-class
elementgetXaDatasourceClass
in interface DriverType<T>
xa-datasource-class
public DriverType<T> removeXaDatasourceClass()
xa-datasource-class
elementremoveXaDatasourceClass
in interface DriverType<T>
DriverType
public DriverType<T> name(String name)
name
attributename
in interface DriverType<T>
name
- the value for the attribute name
DriverType
public String getName()
name
attributegetName
in interface DriverType<T>
name
public DriverType<T> removeName()
name
attributeremoveName
in interface DriverType<T>
DriverType
public DriverType<T> module(String module)
module
attributemodule
in interface DriverType<T>
module
- the value for the attribute module
DriverType
public String getModule()
module
attributegetModule
in interface DriverType<T>
module
public DriverType<T> removeModule()
module
attributeremoveModule
in interface DriverType<T>
DriverType
public DriverType<T> majorVersion(Integer majorVersion)
major-version
attributemajorVersion
in interface DriverType<T>
majorVersion
- the value for the attribute major-version
DriverType
public Integer getMajorVersion()
major-version
attributegetMajorVersion
in interface DriverType<T>
major-version
public DriverType<T> removeMajorVersion()
major-version
attributeremoveMajorVersion
in interface DriverType<T>
DriverType
public DriverType<T> minorVerion(Integer minorVerion)
minor-verion
attributeminorVerion
in interface DriverType<T>
minorVerion
- the value for the attribute minor-verion
DriverType
public Integer getMinorVerion()
minor-verion
attributegetMinorVerion
in interface DriverType<T>
minor-verion
public DriverType<T> removeMinorVerion()
minor-verion
attributeremoveMinorVerion
in interface DriverType<T>
DriverType
Copyright © 2017 JBoss by Red Hat. All rights reserved.