Class ValidationTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.datasources10.impl.ValidationTypeImpl<T>
All Implemented Interfaces:
ValidationType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class ValidationTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ValidationType<T>
This class implements the validationType xsd type
  • Constructor Details

    • ValidationTypeImpl

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

      public ValidationTypeImpl(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>
    • getOrCreateValidConnectionChecker

      public ExtensionType<ValidationType<T>> getOrCreateValidConnectionChecker()
      If not already created, a new valid-connection-checker element with the given value will be created. Otherwise, the existing valid-connection-checker element will be returned.
      Specified by:
      getOrCreateValidConnectionChecker in interface ValidationType<T>
      Returns:
      a new or existing instance of ExtensionTypeinvalid input: '<'ValidationType>
    • removeValidConnectionChecker

      public ValidationType<T> removeValidConnectionChecker()
      Removes the valid-connection-checker element
      Specified by:
      removeValidConnectionChecker in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • checkValidConnectionSql

      public ValidationType<T> checkValidConnectionSql(String checkValidConnectionSql)
      Sets the check-valid-connection-sql element
      Specified by:
      checkValidConnectionSql in interface ValidationType<T>
      Parameters:
      checkValidConnectionSql - the value for the element check-valid-connection-sql
      Returns:
      the current instance of ValidationType
    • getCheckValidConnectionSql

      public String getCheckValidConnectionSql()
      Returns the check-valid-connection-sql element
      Specified by:
      getCheckValidConnectionSql in interface ValidationType<T>
      Returns:
      the node defined for the element check-valid-connection-sql
    • removeCheckValidConnectionSql

      public ValidationType<T> removeCheckValidConnectionSql()
      Removes the check-valid-connection-sql element
      Specified by:
      removeCheckValidConnectionSql in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • validateOnMatch

      public ValidationType<T> validateOnMatch(Boolean validateOnMatch)
      Sets the validate-on-match element
      Specified by:
      validateOnMatch in interface ValidationType<T>
      Parameters:
      validateOnMatch - the value for the element validate-on-match
      Returns:
      the current instance of ValidationType
    • isValidateOnMatch

      public Boolean isValidateOnMatch()
      Returns the validate-on-match element
      Specified by:
      isValidateOnMatch in interface ValidationType<T>
      Returns:
      the node defined for the element validate-on-match
    • removeValidateOnMatch

      public ValidationType<T> removeValidateOnMatch()
      Removes the validate-on-match element
      Specified by:
      removeValidateOnMatch in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • backgroundValidation

      public ValidationType<T> backgroundValidation(Boolean backgroundValidation)
      Sets the background-validation element
      Specified by:
      backgroundValidation in interface ValidationType<T>
      Parameters:
      backgroundValidation - the value for the element background-validation
      Returns:
      the current instance of ValidationType
    • isBackgroundValidation

      public Boolean isBackgroundValidation()
      Returns the background-validation element
      Specified by:
      isBackgroundValidation in interface ValidationType<T>
      Returns:
      the node defined for the element background-validation
    • removeBackgroundValidation

      public ValidationType<T> removeBackgroundValidation()
      Removes the background-validation element
      Specified by:
      removeBackgroundValidation in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • backgroundValidationMillis

      public ValidationType<T> backgroundValidationMillis(Integer backgroundValidationMillis)
      Sets the background-validation-millis element
      Specified by:
      backgroundValidationMillis in interface ValidationType<T>
      Parameters:
      backgroundValidationMillis - the value for the element background-validation-millis
      Returns:
      the current instance of ValidationType
    • getBackgroundValidationMillis

      public Integer getBackgroundValidationMillis()
      Returns the background-validation-millis element
      Specified by:
      getBackgroundValidationMillis in interface ValidationType<T>
      Returns:
      the node defined for the element background-validation-millis
    • removeBackgroundValidationMillis

      public ValidationType<T> removeBackgroundValidationMillis()
      Removes the background-validation-millis element
      Specified by:
      removeBackgroundValidationMillis in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • useFastFail

      public ValidationType<T> useFastFail(Boolean useFastFail)
      Sets the use-fast-fail element
      Specified by:
      useFastFail in interface ValidationType<T>
      Parameters:
      useFastFail - the value for the element use-fast-fail
      Returns:
      the current instance of ValidationType
    • isUseFastFail

      public Boolean isUseFastFail()
      Returns the use-fast-fail element
      Specified by:
      isUseFastFail in interface ValidationType<T>
      Returns:
      the node defined for the element use-fast-fail
    • removeUseFastFail

      public ValidationType<T> removeUseFastFail()
      Removes the use-fast-fail element
      Specified by:
      removeUseFastFail in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • getOrCreateStaleConnectionChecker

      public ExtensionType<ValidationType<T>> getOrCreateStaleConnectionChecker()
      If not already created, a new stale-connection-checker element with the given value will be created. Otherwise, the existing stale-connection-checker element will be returned.
      Specified by:
      getOrCreateStaleConnectionChecker in interface ValidationType<T>
      Returns:
      a new or existing instance of ExtensionTypeinvalid input: '<'ValidationType>
    • removeStaleConnectionChecker

      public ValidationType<T> removeStaleConnectionChecker()
      Removes the stale-connection-checker element
      Specified by:
      removeStaleConnectionChecker in interface ValidationType<T>
      Returns:
      the current instance of ValidationType
    • getOrCreateExceptionSorter

      public ExtensionType<ValidationType<T>> getOrCreateExceptionSorter()
      If not already created, a new exception-sorter element with the given value will be created. Otherwise, the existing exception-sorter element will be returned.
      Specified by:
      getOrCreateExceptionSorter in interface ValidationType<T>
      Returns:
      a new or existing instance of ExtensionTypeinvalid input: '<'ValidationType>
    • removeExceptionSorter

      public ValidationType<T> removeExceptionSorter()
      Removes the exception-sorter element
      Specified by:
      removeExceptionSorter in interface ValidationType<T>
      Returns:
      the current instance of ValidationType