Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2012.05.09 at 12:45:17 PM CEST 
  //
  
  
  package org.hibernate.validator.internal.xml;
 
 import java.util.List;

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>
 
 
 @XmlType(name = "validation-configType", namespace = "http://jboss.org/xml/ns/javax/validation/configuration", propOrder = {
     "defaultProvider",
     "messageInterpolator",
     "traversableResolver",
     "constraintValidatorFactory",
     "constraintMapping",
     "property"
 })
 public class ValidationConfigType {
 
     @XmlElement(name = "default-provider")
     protected String defaultProvider;
     @XmlElement(name = "message-interpolator")
     protected String messageInterpolator;
     @XmlElement(name = "traversable-resolver")
     protected String traversableResolver;
     @XmlElement(name = "constraint-validator-factory")
     protected String constraintValidatorFactory;
     @XmlElement(name = "constraint-mapping")
     protected List<StringconstraintMapping;
     protected List<PropertyTypeproperty;

    
Gets the value of the defaultProvider property.

Returns:
possible object is
 
     public String getDefaultProvider() {
         return ;
     }

    
Sets the value of the defaultProvider property.

Parameters:
value allowed object is
 
     public void setDefaultProvider(String value) {
         this. = value;
     }

    
Gets the value of the messageInterpolator property.

Returns:
possible object is
    public String getMessageInterpolator() {
        return ;
    }

    
Sets the value of the messageInterpolator property.

Parameters:
value allowed object is
    public void setMessageInterpolator(String value) {
        this. = value;
    }

    
Gets the value of the traversableResolver property.

Returns:
possible object is
    public String getTraversableResolver() {
        return ;
    }

    
Sets the value of the traversableResolver property.

Parameters:
value allowed object is
    public void setTraversableResolver(String value) {
        this. = value;
    }

    
Gets the value of the constraintValidatorFactory property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the constraintValidatorFactory property.

Parameters:
value allowed object is
    public void setConstraintValidatorFactory(String value) {
        this. = value;
    }

    
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

    public List<StringgetConstraintMapping() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }

    
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

    public List<PropertyTypegetProperty() {
        if ( == null) {
             = new ArrayList<PropertyType>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X