|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.datasources.impl.DriverTypeImpl<T>
public class DriverTypeImpl<T>
This class implements the driverType
xsd type
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
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()
Returns the parent of this Child |
DriverType<T> |
xaDatasourceClass(String xaDatasourceClass)
Sets the xa-datasource-class element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public DriverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail |
---|
public T up()
Child
Child
up
in interface Child<T>
Child
public DriverType<T> driverClass(String driverClass)
driver-class
element
driverClass
in interface DriverType<T>
driverClass
- the value for the element driver-class
DriverType
public String getDriverClass()
driver-class
element
getDriverClass
in interface DriverType<T>
driver-class
public DriverType<T> removeDriverClass()
driver-class
element
removeDriverClass
in interface DriverType<T>
DriverType
public DriverType<T> datasourceClass(String datasourceClass)
datasource-class
element
datasourceClass
in interface DriverType<T>
datasourceClass
- the value for the element datasource-class
DriverType
public String getDatasourceClass()
datasource-class
element
getDatasourceClass
in interface DriverType<T>
datasource-class
public DriverType<T> removeDatasourceClass()
datasource-class
element
removeDatasourceClass
in interface DriverType<T>
DriverType
public DriverType<T> xaDatasourceClass(String xaDatasourceClass)
xa-datasource-class
element
xaDatasourceClass
in interface DriverType<T>
xaDatasourceClass
- the value for the element xa-datasource-class
DriverType
public String getXaDatasourceClass()
xa-datasource-class
element
getXaDatasourceClass
in interface DriverType<T>
xa-datasource-class
public DriverType<T> removeXaDatasourceClass()
xa-datasource-class
element
removeXaDatasourceClass
in interface DriverType<T>
DriverType
public DriverType<T> name(String name)
name
attribute
name
in interface DriverType<T>
name
- the value for the attribute name
DriverType
public String getName()
name
attribute
getName
in interface DriverType<T>
name
public DriverType<T> removeName()
name
attribute
removeName
in interface DriverType<T>
DriverType
public DriverType<T> module(String module)
module
attribute
module
in interface DriverType<T>
module
- the value for the attribute module
DriverType
public String getModule()
module
attribute
getModule
in interface DriverType<T>
module
public DriverType<T> removeModule()
module
attribute
removeModule
in interface DriverType<T>
DriverType
public DriverType<T> majorVersion(Integer majorVersion)
major-version
attribute
majorVersion
in interface DriverType<T>
majorVersion
- the value for the attribute major-version
DriverType
public Integer getMajorVersion()
major-version
attribute
getMajorVersion
in interface DriverType<T>
major-version
public DriverType<T> removeMajorVersion()
major-version
attribute
removeMajorVersion
in interface DriverType<T>
DriverType
public DriverType<T> minorVerion(Integer minorVerion)
minor-verion
attribute
minorVerion
in interface DriverType<T>
minorVerion
- the value for the attribute minor-verion
DriverType
public Integer getMinorVerion()
minor-verion
attribute
getMinorVerion
in interface DriverType<T>
minor-verion
public DriverType<T> removeMinorVerion()
minor-verion
attribute
removeMinorVerion
in interface DriverType<T>
DriverType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |