org.hibernate.validator.xml
Class ValidationConfigType

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

public class ValidationConfigType
extends java.lang.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  java.util.List<java.lang.String> constraintMapping
           
protected  java.lang.String constraintValidatorFactory
           
protected  java.lang.String defaultProvider
           
protected  java.lang.String messageInterpolator
           
protected  java.util.List<PropertyType> property
           
protected  java.lang.String traversableResolver
           
 
Constructor Summary
ValidationConfigType()
           
 
Method Summary
 java.util.List<java.lang.String> getConstraintMapping()
          Gets the value of the constraintMapping property.
 java.lang.String getConstraintValidatorFactory()
          Gets the value of the constraintValidatorFactory property.
 java.lang.String getDefaultProvider()
          Gets the value of the defaultProvider property.
 java.lang.String getMessageInterpolator()
          Gets the value of the messageInterpolator property.
 java.util.List<PropertyType> getProperty()
          Gets the value of the property property.
 java.lang.String getTraversableResolver()
          Gets the value of the traversableResolver property.
 void setConstraintValidatorFactory(java.lang.String value)
          Sets the value of the constraintValidatorFactory property.
 void setDefaultProvider(java.lang.String value)
          Sets the value of the defaultProvider property.
 void setMessageInterpolator(java.lang.String value)
          Sets the value of the messageInterpolator property.
 void setTraversableResolver(java.lang.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 java.lang.String defaultProvider

messageInterpolator

protected java.lang.String messageInterpolator

traversableResolver

protected java.lang.String traversableResolver

constraintValidatorFactory

protected java.lang.String constraintValidatorFactory

constraintMapping

protected java.util.List<java.lang.String> constraintMapping

property

protected java.util.List<PropertyType> property
Constructor Detail

ValidationConfigType

public ValidationConfigType()
Method Detail

getDefaultProvider

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

Returns:
possible object is String

setDefaultProvider

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

Parameters:
value - allowed object is String

getMessageInterpolator

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

Returns:
possible object is String

setMessageInterpolator

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

Parameters:
value - allowed object is String

getTraversableResolver

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

Returns:
possible object is String

setTraversableResolver

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

Parameters:
value - allowed object is String

getConstraintValidatorFactory

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

Returns:
possible object is String

setConstraintValidatorFactory

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

Parameters:
value - allowed object is String

getConstraintMapping

public java.util.List<java.lang.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 java.util.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 © 2011 Oracle Corporation. All Rights Reserved.