Class 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 Detail

      • 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 Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • 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
      • 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
      • 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
      • 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