|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationType<T>
This interface defines the contract for the validationType
xsd type
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 |
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 interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
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.
ExtensionType>
ValidationType<T> removeValidConnectionChecker()
valid-connection-checker
element
ValidationType
ValidationType<T> checkValidConnectionSql(String checkValidConnectionSql)
check-valid-connection-sql
element
checkValidConnectionSql
- the value for the element check-valid-connection-sql
ValidationType
String getCheckValidConnectionSql()
check-valid-connection-sql
element
check-valid-connection-sql
ValidationType<T> removeCheckValidConnectionSql()
check-valid-connection-sql
element
ValidationType
ValidationType<T> validateOnMatch(Boolean validateOnMatch)
validate-on-match
element
validateOnMatch
- the value for the element validate-on-match
ValidationType
Boolean isValidateOnMatch()
validate-on-match
element
validate-on-match
ValidationType<T> removeValidateOnMatch()
validate-on-match
element
ValidationType
ValidationType<T> backgroundValidation(Boolean backgroundValidation)
background-validation
element
backgroundValidation
- the value for the element background-validation
ValidationType
Boolean isBackgroundValidation()
background-validation
element
background-validation
ValidationType<T> removeBackgroundValidation()
background-validation
element
ValidationType
ValidationType<T> backgroundValidationMillis(Integer backgroundValidationMillis)
background-validation-millis
element
backgroundValidationMillis
- the value for the element background-validation-millis
ValidationType
Integer getBackgroundValidationMillis()
background-validation-millis
element
background-validation-millis
ValidationType<T> removeBackgroundValidationMillis()
background-validation-millis
element
ValidationType
ValidationType<T> useFastFail(Boolean useFastFail)
use-fast-fail
element
useFastFail
- the value for the element use-fast-fail
ValidationType
Boolean isUseFastFail()
use-fast-fail
element
use-fast-fail
ValidationType<T> removeUseFastFail()
use-fast-fail
element
ValidationType
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.
ExtensionType>
ValidationType<T> removeStaleConnectionChecker()
stale-connection-checker
element
ValidationType
ExtensionType<ValidationType<T>> getOrCreateExceptionSorter()
exception-sorter
element with the given value will be created.
Otherwise, the existing exception-sorter
element will be returned.
ExtensionType>
ValidationType<T> removeExceptionSorter()
exception-sorter
element
ValidationType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |