public class ConnectionDefinitionTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionDefinitionType<T>
connection-definitionType xsd type| Constructor and Description |
|---|
ConnectionDefinitionTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node) |
ConnectionDefinitionTypeImpl(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 |
|---|---|
ConnectionDefinitionType<T> |
className(String className)
Sets the
class-name attribute |
ConnectionDefinitionType<T> |
connectable(Boolean connectable)
Sets the
connectable attribute |
ConfigPropertyType<ConnectionDefinitionType<T>> |
createConfigProperty()
Creates a new
config-property element |
ConnectionDefinitionType<T> |
enabled(Boolean enabled)
Sets the
enabled attribute |
ConnectionDefinitionType<T> |
enlistment(Boolean enlistment)
Sets the
enlistment attribute |
ConnectionDefinitionType<T> |
enlistmentTrace(Boolean enlistmentTrace)
Sets the
enlistment-trace attribute |
List<ConfigPropertyType<ConnectionDefinitionType<T>>> |
getAllConfigProperty()
Returns all
config-property elements |
String |
getClassName()
Returns the
class-name attribute |
String |
getJndiName()
Returns the
jndi-name attribute |
String |
getMcp()
Returns the
mcp attribute |
ConfigPropertyType<ConnectionDefinitionType<T>> |
getOrCreateConfigProperty()
If not already created, a new
config-property element will be created and returned. |
PoolType<ConnectionDefinitionType<T>> |
getOrCreatePool()
If not already created, a new
pool element with the given value will be created. |
RecoverType<ConnectionDefinitionType<T>> |
getOrCreateRecovery()
If not already created, a new
recovery element with the given value will be created. |
SecurityType<ConnectionDefinitionType<T>> |
getOrCreateSecurity()
If not already created, a new
security element with the given value will be created. |
TimeoutType<ConnectionDefinitionType<T>> |
getOrCreateTimeout()
If not already created, a new
timeout element with the given value will be created. |
ValidationType<ConnectionDefinitionType<T>> |
getOrCreateValidation()
If not already created, a new
validation element with the given value will be created. |
XaPoolType<ConnectionDefinitionType<T>> |
getOrCreateXaPool()
If not already created, a new
xa-pool element with the given value will be created. |
String |
getPoolName()
Returns the
pool-name attribute |
Boolean |
isConnectable()
Returns the
connectable attribute |
Boolean |
isEnabled()
Returns the
enabled attribute |
Boolean |
isEnlistment()
Returns the
enlistment attribute |
Boolean |
isEnlistmentTrace()
Returns the
enlistment-trace attribute |
Boolean |
isSharable()
Returns the
sharable attribute |
Boolean |
isTracking()
Returns the
tracking attribute |
Boolean |
isUseCcm()
Returns the
use-ccm attribute |
Boolean |
isUseJavaContext()
Returns the
use-java-context attribute |
ConnectionDefinitionType<T> |
jndiName(String jndiName)
Sets the
jndi-name attribute |
ConnectionDefinitionType<T> |
mcp(String mcp)
Sets the
mcp attribute |
ConnectionDefinitionType<T> |
poolName(String poolName)
Sets the
pool-name attribute |
ConnectionDefinitionType<T> |
removeAllConfigProperty()
Removes all
config-property elements |
ConnectionDefinitionType<T> |
removeClassName()
Removes the
class-name attribute |
ConnectionDefinitionType<T> |
removeConnectable()
Removes the
connectable attribute |
ConnectionDefinitionType<T> |
removeEnabled()
Removes the
enabled attribute |
ConnectionDefinitionType<T> |
removeEnlistment()
Removes the
enlistment attribute |
ConnectionDefinitionType<T> |
removeEnlistmentTrace()
Removes the
enlistment-trace attribute |
ConnectionDefinitionType<T> |
removeJndiName()
Removes the
jndi-name attribute |
ConnectionDefinitionType<T> |
removeMcp()
Removes the
mcp attribute |
ConnectionDefinitionType<T> |
removePool()
Removes the
pool element |
ConnectionDefinitionType<T> |
removePoolName()
Removes the
pool-name attribute |
ConnectionDefinitionType<T> |
removeRecovery()
Removes the
recovery element |
ConnectionDefinitionType<T> |
removeSecurity()
Removes the
security element |
ConnectionDefinitionType<T> |
removeSharable()
Removes the
sharable attribute |
ConnectionDefinitionType<T> |
removeTimeout()
Removes the
timeout element |
ConnectionDefinitionType<T> |
removeTracking()
Removes the
tracking attribute |
ConnectionDefinitionType<T> |
removeUseCcm()
Removes the
use-ccm attribute |
ConnectionDefinitionType<T> |
removeUseJavaContext()
Removes the
use-java-context attribute |
ConnectionDefinitionType<T> |
removeValidation()
Removes the
validation element |
ConnectionDefinitionType<T> |
removeXaPool()
Removes the
xa-pool element |
ConnectionDefinitionType<T> |
sharable(Boolean sharable)
Sets the
sharable attribute |
ConnectionDefinitionType<T> |
tracking(Boolean tracking)
Sets the
tracking attribute |
T |
up() |
ConnectionDefinitionType<T> |
useCcm(Boolean useCcm)
Sets the
use-ccm attribute |
ConnectionDefinitionType<T> |
useJavaContext(Boolean useJavaContext)
Sets the
use-java-context attribute |
public ConnectionDefinitionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionDefinitionType<T> className(String className)
class-name attributeclassName in interface ConnectionDefinitionType<T>className - the value for the attribute class-nameConnectionDefinitionTypepublic String getClassName()
class-name attributegetClassName in interface ConnectionDefinitionType<T>class-namepublic ConnectionDefinitionType<T> removeClassName()
class-name attributeremoveClassName in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> jndiName(String jndiName)
jndi-name attributejndiName in interface ConnectionDefinitionType<T>jndiName - the value for the attribute jndi-nameConnectionDefinitionTypepublic String getJndiName()
jndi-name attributegetJndiName in interface ConnectionDefinitionType<T>jndi-namepublic ConnectionDefinitionType<T> removeJndiName()
jndi-name attributeremoveJndiName in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> enabled(Boolean enabled)
enabled attributeenabled in interface ConnectionDefinitionType<T>enabled - the value for the attribute enabledConnectionDefinitionTypepublic Boolean isEnabled()
enabled attributeisEnabled in interface ConnectionDefinitionType<T>enabledpublic ConnectionDefinitionType<T> removeEnabled()
enabled attributeremoveEnabled in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> useJavaContext(Boolean useJavaContext)
use-java-context attributeuseJavaContext in interface ConnectionDefinitionType<T>useJavaContext - the value for the attribute use-java-contextConnectionDefinitionTypepublic Boolean isUseJavaContext()
use-java-context attributeisUseJavaContext in interface ConnectionDefinitionType<T>use-java-contextpublic ConnectionDefinitionType<T> removeUseJavaContext()
use-java-context attributeremoveUseJavaContext in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> poolName(String poolName)
pool-name attributepoolName in interface ConnectionDefinitionType<T>poolName - the value for the attribute pool-nameConnectionDefinitionTypepublic String getPoolName()
pool-name attributegetPoolName in interface ConnectionDefinitionType<T>pool-namepublic ConnectionDefinitionType<T> removePoolName()
pool-name attributeremovePoolName in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConfigPropertyType<ConnectionDefinitionType<T>> getOrCreateConfigProperty()
config-property element will be created and returned.
Otherwise, the first existing config-property element will be returned.getOrCreateConfigProperty in interface ConnectionDefinitionType<T>config-propertypublic ConfigPropertyType<ConnectionDefinitionType<T>> createConfigProperty()
config-property elementcreateConfigProperty in interface ConnectionDefinitionType<T>ConfigPropertyType> public List<ConfigPropertyType<ConnectionDefinitionType<T>>> getAllConfigProperty()
config-property elementsgetAllConfigProperty in interface ConnectionDefinitionType<T>config-propertypublic ConnectionDefinitionType<T> removeAllConfigProperty()
config-property elementsremoveAllConfigProperty in interface ConnectionDefinitionType<T>ConfigPropertyType> public PoolType<ConnectionDefinitionType<T>> getOrCreatePool()
pool element with the given value will be created.
Otherwise, the existing pool element will be returned.getOrCreatePool in interface ConnectionDefinitionType<T>PoolType> public ConnectionDefinitionType<T> removePool()
pool elementremovePool in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic XaPoolType<ConnectionDefinitionType<T>> getOrCreateXaPool()
xa-pool element with the given value will be created.
Otherwise, the existing xa-pool element will be returned.getOrCreateXaPool in interface ConnectionDefinitionType<T>XaPoolType> public ConnectionDefinitionType<T> removeXaPool()
xa-pool elementremoveXaPool in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic SecurityType<ConnectionDefinitionType<T>> getOrCreateSecurity()
security element with the given value will be created.
Otherwise, the existing security element will be returned.getOrCreateSecurity in interface ConnectionDefinitionType<T>SecurityType> public ConnectionDefinitionType<T> removeSecurity()
security elementremoveSecurity in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic TimeoutType<ConnectionDefinitionType<T>> getOrCreateTimeout()
timeout element with the given value will be created.
Otherwise, the existing timeout element will be returned.getOrCreateTimeout in interface ConnectionDefinitionType<T>TimeoutType> public ConnectionDefinitionType<T> removeTimeout()
timeout elementremoveTimeout in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ValidationType<ConnectionDefinitionType<T>> getOrCreateValidation()
validation element with the given value will be created.
Otherwise, the existing validation element will be returned.getOrCreateValidation in interface ConnectionDefinitionType<T>ValidationType> public ConnectionDefinitionType<T> removeValidation()
validation elementremoveValidation in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic RecoverType<ConnectionDefinitionType<T>> getOrCreateRecovery()
recovery element with the given value will be created.
Otherwise, the existing recovery element will be returned.getOrCreateRecovery in interface ConnectionDefinitionType<T>RecoverType> public ConnectionDefinitionType<T> removeRecovery()
recovery elementremoveRecovery in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> useCcm(Boolean useCcm)
use-ccm attributeuseCcm in interface ConnectionDefinitionType<T>useCcm - the value for the attribute use-ccmConnectionDefinitionTypepublic Boolean isUseCcm()
use-ccm attributeisUseCcm in interface ConnectionDefinitionType<T>use-ccmpublic ConnectionDefinitionType<T> removeUseCcm()
use-ccm attributeremoveUseCcm in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> sharable(Boolean sharable)
sharable attributesharable in interface ConnectionDefinitionType<T>sharable - the value for the attribute sharableConnectionDefinitionTypepublic Boolean isSharable()
sharable attributeisSharable in interface ConnectionDefinitionType<T>sharablepublic ConnectionDefinitionType<T> removeSharable()
sharable attributeremoveSharable in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> enlistment(Boolean enlistment)
enlistment attributeenlistment in interface ConnectionDefinitionType<T>enlistment - the value for the attribute enlistmentConnectionDefinitionTypepublic Boolean isEnlistment()
enlistment attributeisEnlistment in interface ConnectionDefinitionType<T>enlistmentpublic ConnectionDefinitionType<T> removeEnlistment()
enlistment attributeremoveEnlistment in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> connectable(Boolean connectable)
connectable attributeconnectable in interface ConnectionDefinitionType<T>connectable - the value for the attribute connectableConnectionDefinitionTypepublic Boolean isConnectable()
connectable attributeisConnectable in interface ConnectionDefinitionType<T>connectablepublic ConnectionDefinitionType<T> removeConnectable()
connectable attributeremoveConnectable in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> tracking(Boolean tracking)
tracking attributetracking in interface ConnectionDefinitionType<T>tracking - the value for the attribute trackingConnectionDefinitionTypepublic Boolean isTracking()
tracking attributeisTracking in interface ConnectionDefinitionType<T>trackingpublic ConnectionDefinitionType<T> removeTracking()
tracking attributeremoveTracking in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> mcp(String mcp)
mcp attributemcp in interface ConnectionDefinitionType<T>mcp - the value for the attribute mcpConnectionDefinitionTypepublic String getMcp()
mcp attributegetMcp in interface ConnectionDefinitionType<T>mcppublic ConnectionDefinitionType<T> removeMcp()
mcp attributeremoveMcp in interface ConnectionDefinitionType<T>ConnectionDefinitionTypepublic ConnectionDefinitionType<T> enlistmentTrace(Boolean enlistmentTrace)
enlistment-trace attributeenlistmentTrace in interface ConnectionDefinitionType<T>enlistmentTrace - the value for the attribute enlistment-traceConnectionDefinitionTypepublic Boolean isEnlistmentTrace()
enlistment-trace attributeisEnlistmentTrace in interface ConnectionDefinitionType<T>enlistment-tracepublic ConnectionDefinitionType<T> removeEnlistmentTrace()
enlistment-trace attributeremoveEnlistmentTrace in interface ConnectionDefinitionType<T>ConnectionDefinitionTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.