org.hibernate.validator.xml
Class ValidationConfigType

java.lang.Object
  extended by org.hibernate.validator.xml.ValidationConfigType

public class ValidationConfigType
extends Object

Java class for validation-configType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="validation-configType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="default-provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="message-interpolator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="traversable-resolver" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="constraint-validator-factory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="constraint-mapping" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="property" type="{http://jboss.org/xml/ns/javax/validation/configuration}propertyType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> constraintMapping
           
protected  String constraintValidatorFactory
           
protected  String defaultProvider
           
protected  String messageInterpolator
           
protected  List<PropertyType> property
           
protected  String traversableResolver
           
 
Constructor Summary
ValidationConfigType()
           
 
Method Summary
 List<String> getConstraintMapping()
          Gets the value of the constraintMapping property.
 String getConstraintValidatorFactory()
          Gets the value of the constraintValidatorFactory property.
 String getDefaultProvider()
          Gets the value of the defaultProvider property.
 String getMessageInterpolator()
          Gets the value of the messageInterpolator property.
 List<PropertyType> getProperty()
          Gets the value of the property property.
 String getTraversableResolver()
          Gets the value of the traversableResolver property.
 void setConstraintValidatorFactory(String value)
          Sets the value of the constraintValidatorFactory property.
 void setDefaultProvider(String value)
          Sets the value of the defaultProvider property.
 void setMessageInterpolator(String value)
          Sets the value of the messageInterpolator property.
 void setTraversableResolver(String value)
          Sets the value of the traversableResolver property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultProvider

protected String defaultProvider

messageInterpolator

protected String messageInterpolator

traversableResolver

protected String traversableResolver

constraintValidatorFactory

protected String constraintValidatorFactory

constraintMapping

protected List<String> constraintMapping

property

protected List<PropertyType> property
Constructor Detail

ValidationConfigType

public ValidationConfigType()
Method Detail

getDefaultProvider

public String getDefaultProvider()
Gets the value of the defaultProvider property.

Returns:
possible object is String

setDefaultProvider

public void setDefaultProvider(String value)
Sets the value of the defaultProvider property.

Parameters:
value - allowed object is String

getMessageInterpolator

public String getMessageInterpolator()
Gets the value of the messageInterpolator property.

Returns:
possible object is String

setMessageInterpolator

public void setMessageInterpolator(String value)
Sets the value of the messageInterpolator property.

Parameters:
value - allowed object is String

getTraversableResolver

public String getTraversableResolver()
Gets the value of the traversableResolver property.

Returns:
possible object is String

setTraversableResolver

public void setTraversableResolver(String value)
Sets the value of the traversableResolver property.

Parameters:
value - allowed object is String

getConstraintValidatorFactory

public String getConstraintValidatorFactory()
Gets the value of the constraintValidatorFactory property.

Returns:
possible object is String

setConstraintValidatorFactory

public void setConstraintValidatorFactory(String value)
Sets the value of the constraintValidatorFactory property.

Parameters:
value - allowed object is String

getConstraintMapping

public List<String> getConstraintMapping()
Gets the value of the constraintMapping property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the constraintMapping property.

For example, to add a new item, do as follows:

    getConstraintMapping().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getProperty

public List<PropertyType> getProperty()
Gets the value of the property property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the property property.

For example, to add a new item, do as follows:

    getProperty().add(newItem);
 

Objects of the following type(s) are allowed in the list PropertyType



Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved