Class RecoverTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.resourceadapters11.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 the recoverType xsd type
  • Constructor Details

    • RecoverTypeImpl

      public RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
    • RecoverTypeImpl

      public RecoverTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
  • Method Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • getOrCreateRecoverCredential

      public CredentialType<RecoverType<T>> getOrCreateRecoverCredential()
      If not already created, a new recover-credential element with the given value will be created. Otherwise, the existing recover-credential element will be returned.
      Specified by:
      getOrCreateRecoverCredential in interface RecoverType<T>
      Returns:
      a new or existing instance of CredentialType<RecoverType>
    • removeRecoverCredential

      public RecoverType<T> removeRecoverCredential()
      Removes the recover-credential element
      Specified by:
      removeRecoverCredential in interface RecoverType<T>
      Returns:
      the current instance of RecoverType
    • getOrCreateRecoverPlugin

      public ExtensionType<RecoverType<T>> getOrCreateRecoverPlugin()
      If not already created, a new recover-plugin element with the given value will be created. Otherwise, the existing recover-plugin element will be returned.
      Specified by:
      getOrCreateRecoverPlugin in interface RecoverType<T>
      Returns:
      a new or existing instance of ExtensionType<RecoverType>
    • removeRecoverPlugin

      public RecoverType<T> removeRecoverPlugin()
      Removes the recover-plugin element
      Specified by:
      removeRecoverPlugin in interface RecoverType<T>
      Returns:
      the current instance of RecoverType
    • noRecovery

      public RecoverType<T> noRecovery(Boolean noRecovery)
      Sets the no-recovery attribute
      Specified by:
      noRecovery in interface RecoverType<T>
      Parameters:
      noRecovery - the value for the attribute no-recovery
      Returns:
      the current instance of RecoverType
    • isNoRecovery

      public Boolean isNoRecovery()
      Returns the no-recovery attribute
      Specified by:
      isNoRecovery in interface RecoverType<T>
      Returns:
      the value defined for the attribute no-recovery
    • removeNoRecovery

      public RecoverType<T> removeNoRecovery()
      Removes the no-recovery attribute
      Specified by:
      removeNoRecovery in interface RecoverType<T>
      Returns:
      the current instance of RecoverType