|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resourceadapters.impl.ConnectionDefintionTypeImpl<T>
public class ConnectionDefintionTypeImpl<T>
This class implements the connection-defintionType
xsd type
Constructor Summary | |
---|---|
ConnectionDefintionTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node)
|
|
ConnectionDefintionTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
|
Method Summary | |
---|---|
ConnectionDefintionType<T> |
className(String className)
Sets the class-name attribute |
ConfigPropertyType<ConnectionDefintionType<T>> |
createConfigProperty()
Creates a new config-property element |
ConnectionDefintionType<T> |
enabled(Boolean enabled)
Sets the enabled attribute |
List<ConfigPropertyType<ConnectionDefintionType<T>>> |
getAllConfigProperty()
Returns all config-property elements |
String |
getClassName()
Returns the class-name attribute |
String |
getJndiName()
Returns the jndi-name attribute |
ConfigPropertyType<ConnectionDefintionType<T>> |
getOrCreateConfigProperty()
If not already created, a new config-property element will be created and returned. |
PoolType<ConnectionDefintionType<T>> |
getOrCreatePool()
If not already created, a new pool element with the given value will be created. |
RecoverType<ConnectionDefintionType<T>> |
getOrCreateRecovery()
If not already created, a new recovery element with the given value will be created. |
SecurityType<ConnectionDefintionType<T>> |
getOrCreateSecurity()
If not already created, a new security element with the given value will be created. |
TimeoutType<ConnectionDefintionType<T>> |
getOrCreateTimeout()
If not already created, a new timeout element with the given value will be created. |
ValidationType<ConnectionDefintionType<T>> |
getOrCreateValidation()
If not already created, a new validation element with the given value will be created. |
XaPoolType<ConnectionDefintionType<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 |
isEnabled()
Returns the enabled attribute |
Boolean |
isUseCcm()
Returns the use-ccm attribute |
Boolean |
isUseJavaContext()
Returns the use-java-context attribute |
ConnectionDefintionType<T> |
jndiName(String jndiName)
Sets the jndi-name attribute |
ConnectionDefintionType<T> |
poolName(String poolName)
Sets the pool-name attribute |
ConnectionDefintionType<T> |
removeAllConfigProperty()
Removes all config-property elements |
ConnectionDefintionType<T> |
removeClassName()
Removes the class-name attribute |
ConnectionDefintionType<T> |
removeEnabled()
Removes the enabled attribute |
ConnectionDefintionType<T> |
removeJndiName()
Removes the jndi-name attribute |
ConnectionDefintionType<T> |
removePool()
Removes the pool element |
ConnectionDefintionType<T> |
removePoolName()
Removes the pool-name attribute |
ConnectionDefintionType<T> |
removeRecovery()
Removes the recovery element |
ConnectionDefintionType<T> |
removeSecurity()
Removes the security element |
ConnectionDefintionType<T> |
removeTimeout()
Removes the timeout element |
ConnectionDefintionType<T> |
removeUseCcm()
Removes the use-ccm attribute |
ConnectionDefintionType<T> |
removeUseJavaContext()
Removes the use-java-context attribute |
ConnectionDefintionType<T> |
removeValidation()
Removes the validation element |
ConnectionDefintionType<T> |
removeXaPool()
Removes the xa-pool element |
T |
up()
Returns the parent of this Child |
ConnectionDefintionType<T> |
useCcm(Boolean useCcm)
Sets the use-ccm attribute |
ConnectionDefintionType<T> |
useJavaContext(Boolean useJavaContext)
Sets the use-java-context attribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionDefintionTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ConnectionDefintionTypeImpl(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 ConnectionDefintionType<T> className(String className)
class-name
attribute
className
in interface ConnectionDefintionType<T>
className
- the value for the attribute class-name
ConnectionDefintionType
public String getClassName()
class-name
attribute
getClassName
in interface ConnectionDefintionType<T>
class-name
public ConnectionDefintionType<T> removeClassName()
class-name
attribute
removeClassName
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ConnectionDefintionType<T> jndiName(String jndiName)
jndi-name
attribute
jndiName
in interface ConnectionDefintionType<T>
jndiName
- the value for the attribute jndi-name
ConnectionDefintionType
public String getJndiName()
jndi-name
attribute
getJndiName
in interface ConnectionDefintionType<T>
jndi-name
public ConnectionDefintionType<T> removeJndiName()
jndi-name
attribute
removeJndiName
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ConnectionDefintionType<T> enabled(Boolean enabled)
enabled
attribute
enabled
in interface ConnectionDefintionType<T>
enabled
- the value for the attribute enabled
ConnectionDefintionType
public Boolean isEnabled()
enabled
attribute
isEnabled
in interface ConnectionDefintionType<T>
enabled
public ConnectionDefintionType<T> removeEnabled()
enabled
attribute
removeEnabled
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ConnectionDefintionType<T> useJavaContext(Boolean useJavaContext)
use-java-context
attribute
useJavaContext
in interface ConnectionDefintionType<T>
useJavaContext
- the value for the attribute use-java-context
ConnectionDefintionType
public Boolean isUseJavaContext()
use-java-context
attribute
isUseJavaContext
in interface ConnectionDefintionType<T>
use-java-context
public ConnectionDefintionType<T> removeUseJavaContext()
use-java-context
attribute
removeUseJavaContext
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ConnectionDefintionType<T> poolName(String poolName)
pool-name
attribute
poolName
in interface ConnectionDefintionType<T>
poolName
- the value for the attribute pool-name
ConnectionDefintionType
public String getPoolName()
pool-name
attribute
getPoolName
in interface ConnectionDefintionType<T>
pool-name
public ConnectionDefintionType<T> removePoolName()
pool-name
attribute
removePoolName
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ConfigPropertyType<ConnectionDefintionType<T>> getOrCreateConfigProperty()
config-property
element will be created and returned.
Otherwise, the first existing config-property
element will be returned.
getOrCreateConfigProperty
in interface ConnectionDefintionType<T>
config-property
public ConfigPropertyType<ConnectionDefintionType<T>> createConfigProperty()
config-property
element
createConfigProperty
in interface ConnectionDefintionType<T>
ConfigPropertyType>
public List<ConfigPropertyType<ConnectionDefintionType<T>>> getAllConfigProperty()
config-property
elements
getAllConfigProperty
in interface ConnectionDefintionType<T>
config-property
public ConnectionDefintionType<T> removeAllConfigProperty()
config-property
elements
removeAllConfigProperty
in interface ConnectionDefintionType<T>
ConfigPropertyType>
public PoolType<ConnectionDefintionType<T>> getOrCreatePool()
pool
element with the given value will be created.
Otherwise, the existing pool
element will be returned.
getOrCreatePool
in interface ConnectionDefintionType<T>
PoolType>
public ConnectionDefintionType<T> removePool()
pool
element
removePool
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public XaPoolType<ConnectionDefintionType<T>> getOrCreateXaPool()
xa-pool
element with the given value will be created.
Otherwise, the existing xa-pool
element will be returned.
getOrCreateXaPool
in interface ConnectionDefintionType<T>
XaPoolType>
public ConnectionDefintionType<T> removeXaPool()
xa-pool
element
removeXaPool
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public SecurityType<ConnectionDefintionType<T>> getOrCreateSecurity()
security
element with the given value will be created.
Otherwise, the existing security
element will be returned.
getOrCreateSecurity
in interface ConnectionDefintionType<T>
SecurityType>
public ConnectionDefintionType<T> removeSecurity()
security
element
removeSecurity
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public TimeoutType<ConnectionDefintionType<T>> getOrCreateTimeout()
timeout
element with the given value will be created.
Otherwise, the existing timeout
element will be returned.
getOrCreateTimeout
in interface ConnectionDefintionType<T>
TimeoutType>
public ConnectionDefintionType<T> removeTimeout()
timeout
element
removeTimeout
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ValidationType<ConnectionDefintionType<T>> getOrCreateValidation()
validation
element with the given value will be created.
Otherwise, the existing validation
element will be returned.
getOrCreateValidation
in interface ConnectionDefintionType<T>
ValidationType>
public ConnectionDefintionType<T> removeValidation()
validation
element
removeValidation
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public RecoverType<ConnectionDefintionType<T>> getOrCreateRecovery()
recovery
element with the given value will be created.
Otherwise, the existing recovery
element will be returned.
getOrCreateRecovery
in interface ConnectionDefintionType<T>
RecoverType>
public ConnectionDefintionType<T> removeRecovery()
recovery
element
removeRecovery
in interface ConnectionDefintionType<T>
ConnectionDefintionType
public ConnectionDefintionType<T> useCcm(Boolean useCcm)
use-ccm
attribute
useCcm
in interface ConnectionDefintionType<T>
useCcm
- the value for the attribute use-ccm
ConnectionDefintionType
public Boolean isUseCcm()
use-ccm
attribute
isUseCcm
in interface ConnectionDefintionType<T>
use-ccm
public ConnectionDefintionType<T> removeUseCcm()
use-ccm
attribute
removeUseCcm
in interface ConnectionDefintionType<T>
ConnectionDefintionType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |