|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.datasources.impl.ValidationTypeImpl<T>
public class ValidationTypeImpl<T>
This class implements the validationType
xsd type
Constructor Summary | |
---|---|
ValidationTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node)
|
|
ValidationTypeImpl(T t,
String nodeName,
org.jboss.shrinkwrap.descriptor.spi.node.Node node,
org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
|
Method Summary | |
---|---|
ValidationType<T> |
backgroundValidation(Boolean backgroundValidation)
Sets the background-validation element |
ValidationType<T> |
backgroundValidationMillis(Integer backgroundValidationMillis)
Sets the background-validation-millis element |
ValidationType<T> |
checkValidConnectionSql(String checkValidConnectionSql)
Sets the check-valid-connection-sql element |
Integer |
getBackgroundValidationMillis()
Returns the background-validation-millis element |
String |
getCheckValidConnectionSql()
Returns the check-valid-connection-sql element |
ExtensionType<ValidationType<T>> |
getOrCreateExceptionSorter()
If not already created, a new exception-sorter element with the given value will be created. |
ExtensionType<ValidationType<T>> |
getOrCreateStaleConnectionChecker()
If not already created, a new stale-connection-checker element with the given value will be created. |
ExtensionType<ValidationType<T>> |
getOrCreateValidConnectionChecker()
If not already created, a new valid-connection-checker element with the given value will be created. |
Boolean |
isBackgroundValidation()
Returns the background-validation element |
Boolean |
isUseFastFail()
Returns the use-fast-fail element |
Boolean |
isValidateOnMatch()
Returns the validate-on-match element |
ValidationType<T> |
removeBackgroundValidation()
Removes the background-validation element |
ValidationType<T> |
removeBackgroundValidationMillis()
Removes the background-validation-millis element |
ValidationType<T> |
removeCheckValidConnectionSql()
Removes the check-valid-connection-sql element |
ValidationType<T> |
removeExceptionSorter()
Removes the exception-sorter element |
ValidationType<T> |
removeStaleConnectionChecker()
Removes the stale-connection-checker element |
ValidationType<T> |
removeUseFastFail()
Removes the use-fast-fail element |
ValidationType<T> |
removeValidateOnMatch()
Removes the validate-on-match element |
ValidationType<T> |
removeValidConnectionChecker()
Removes the valid-connection-checker element |
T |
up()
Returns the parent of this Child |
ValidationType<T> |
useFastFail(Boolean useFastFail)
Sets the use-fast-fail element |
ValidationType<T> |
validateOnMatch(Boolean validateOnMatch)
Sets the validate-on-match element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public ValidationTypeImpl(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 ExtensionType<ValidationType<T>> getOrCreateValidConnectionChecker()
valid-connection-checker
element with the given value will be created.
Otherwise, the existing valid-connection-checker
element will be returned.
getOrCreateValidConnectionChecker
in interface ValidationType<T>
ExtensionType>
public ValidationType<T> removeValidConnectionChecker()
valid-connection-checker
element
removeValidConnectionChecker
in interface ValidationType<T>
ValidationType
public ValidationType<T> checkValidConnectionSql(String checkValidConnectionSql)
check-valid-connection-sql
element
checkValidConnectionSql
in interface ValidationType<T>
checkValidConnectionSql
- the value for the element check-valid-connection-sql
ValidationType
public String getCheckValidConnectionSql()
check-valid-connection-sql
element
getCheckValidConnectionSql
in interface ValidationType<T>
check-valid-connection-sql
public ValidationType<T> removeCheckValidConnectionSql()
check-valid-connection-sql
element
removeCheckValidConnectionSql
in interface ValidationType<T>
ValidationType
public ValidationType<T> validateOnMatch(Boolean validateOnMatch)
validate-on-match
element
validateOnMatch
in interface ValidationType<T>
validateOnMatch
- the value for the element validate-on-match
ValidationType
public Boolean isValidateOnMatch()
validate-on-match
element
isValidateOnMatch
in interface ValidationType<T>
validate-on-match
public ValidationType<T> removeValidateOnMatch()
validate-on-match
element
removeValidateOnMatch
in interface ValidationType<T>
ValidationType
public ValidationType<T> backgroundValidation(Boolean backgroundValidation)
background-validation
element
backgroundValidation
in interface ValidationType<T>
backgroundValidation
- the value for the element background-validation
ValidationType
public Boolean isBackgroundValidation()
background-validation
element
isBackgroundValidation
in interface ValidationType<T>
background-validation
public ValidationType<T> removeBackgroundValidation()
background-validation
element
removeBackgroundValidation
in interface ValidationType<T>
ValidationType
public ValidationType<T> backgroundValidationMillis(Integer backgroundValidationMillis)
background-validation-millis
element
backgroundValidationMillis
in interface ValidationType<T>
backgroundValidationMillis
- the value for the element background-validation-millis
ValidationType
public Integer getBackgroundValidationMillis()
background-validation-millis
element
getBackgroundValidationMillis
in interface ValidationType<T>
background-validation-millis
public ValidationType<T> removeBackgroundValidationMillis()
background-validation-millis
element
removeBackgroundValidationMillis
in interface ValidationType<T>
ValidationType
public ValidationType<T> useFastFail(Boolean useFastFail)
use-fast-fail
element
useFastFail
in interface ValidationType<T>
useFastFail
- the value for the element use-fast-fail
ValidationType
public Boolean isUseFastFail()
use-fast-fail
element
isUseFastFail
in interface ValidationType<T>
use-fast-fail
public ValidationType<T> removeUseFastFail()
use-fast-fail
element
removeUseFastFail
in interface ValidationType<T>
ValidationType
public ExtensionType<ValidationType<T>> getOrCreateStaleConnectionChecker()
stale-connection-checker
element with the given value will be created.
Otherwise, the existing stale-connection-checker
element will be returned.
getOrCreateStaleConnectionChecker
in interface ValidationType<T>
ExtensionType>
public ValidationType<T> removeStaleConnectionChecker()
stale-connection-checker
element
removeStaleConnectionChecker
in interface ValidationType<T>
ValidationType
public ExtensionType<ValidationType<T>> getOrCreateExceptionSorter()
exception-sorter
element with the given value will be created.
Otherwise, the existing exception-sorter
element will be returned.
getOrCreateExceptionSorter
in interface ValidationType<T>
ExtensionType>
public ValidationType<T> removeExceptionSorter()
exception-sorter
element
removeExceptionSorter
in interface ValidationType<T>
ValidationType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |