org.jboss.resourceadapters.impl
Class ValidationTypeImpl<T>

java.lang.Object
  extended by org.jboss.resourceadapters.impl.ValidationTypeImpl<T>
All Implemented Interfaces:
ValidationType<T>, Child<T>

public class ValidationTypeImpl<T>
extends Object
implements Child<T>, ValidationType<T>

This class implements the validationType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

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
 Integer getBackgroundValidationMillis()
          Returns the background-validation-millis element
 Boolean isBackgroundValidation()
          Returns the background-validation element
 Boolean isUseFastFail()
          Returns the use-fast-fail element
 ValidationType<T> removeBackgroundValidation()
          Removes the background-validation element
 ValidationType<T> removeBackgroundValidationMillis()
          Removes the background-validation-millis element
 ValidationType<T> removeUseFastFail()
          Removes the use-fast-fail element
 T up()
          Returns the parent of this Child
 ValidationType<T> useFastFail(Boolean useFastFail)
          Sets the use-fast-fail element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

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


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.