Class RecoverTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.datasources10.impl.RecoverTypeImpl<T>
-
- All Implemented Interfaces:
RecoverType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class RecoverTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, RecoverType<T>
This class implements therecoverTypexsd type
-
-
Constructor Summary
Constructors Constructor Description RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DsSecurityType<RecoverType<T>>getOrCreateRecoverCredential()If not already created, a newrecover-credentialelement with the given value will be created.ExtensionType<RecoverType<T>>getOrCreateRecoverPlugin()If not already created, a newrecover-pluginelement with the given value will be created.BooleanisNoRecovery()Returns theno-recoveryattributeRecoverType<T>noRecovery(Boolean noRecovery)Sets theno-recoveryattributeRecoverType<T>removeNoRecovery()Removes theno-recoveryattributeRecoverType<T>removeRecoverCredential()Removes therecover-credentialelementRecoverType<T>removeRecoverPlugin()Removes therecover-pluginelementTup()
-
-
-
Method Detail
-
getOrCreateRecoverCredential
public DsSecurityType<RecoverType<T>> getOrCreateRecoverCredential()
If not already created, a newrecover-credentialelement with the given value will be created. Otherwise, the existingrecover-credentialelement will be returned.- Specified by:
getOrCreateRecoverCredentialin interfaceRecoverType<T>- Returns:
- a new or existing instance of
DsSecurityType>
-
removeRecoverCredential
public RecoverType<T> removeRecoverCredential()
Removes therecover-credentialelement- Specified by:
removeRecoverCredentialin interfaceRecoverType<T>- Returns:
- the current instance of
RecoverType
-
getOrCreateRecoverPlugin
public ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()
If not already created, a newrecover-pluginelement with the given value will be created. Otherwise, the existingrecover-pluginelement will be returned.- Specified by:
getOrCreateRecoverPluginin interfaceRecoverType<T>- Returns:
- a new or existing instance of
ExtensionType>
-
removeRecoverPlugin
public RecoverType<T> removeRecoverPlugin()
Removes therecover-pluginelement- Specified by:
removeRecoverPluginin interfaceRecoverType<T>- Returns:
- the current instance of
RecoverType
-
noRecovery
public RecoverType<T> noRecovery(Boolean noRecovery)
Sets theno-recoveryattribute- Specified by:
noRecoveryin interfaceRecoverType<T>- Parameters:
noRecovery- the value for the attributeno-recovery- Returns:
- the current instance of
RecoverType
-
isNoRecovery
public Boolean isNoRecovery()
Returns theno-recoveryattribute- Specified by:
isNoRecoveryin interfaceRecoverType<T>- Returns:
- the value defined for the attribute
no-recovery
-
removeNoRecovery
public RecoverType<T> removeNoRecovery()
Removes theno-recoveryattribute- Specified by:
removeNoRecoveryin interfaceRecoverType<T>- Returns:
- the current instance of
RecoverType
-
-