org.hibernate.validator.internal.xml.ValidationConfigType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.04.11 at 09:35:13 PM CEST
//
package org.hibernate.validator.internal.xml;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* 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="parameter-name-provider" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="executable-validation" type="{http://jboss.org/xml/ns/javax/validation/configuration}executable-validationType" 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>
* <attribute name="version" use="required" type="{http://jboss.org/xml/ns/javax/validation/configuration}versionType" fixed="1.1" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "validation-configType", namespace = "http://jboss.org/xml/ns/javax/validation/configuration", propOrder = {
"defaultProvider",
"messageInterpolator",
"traversableResolver",
"constraintValidatorFactory",
"parameterNameProvider",
"executableValidation",
"constraintMapping",
"property"
})
public class ValidationConfigType {
@XmlElement(name = "default-provider")
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected String defaultProvider;
@XmlElement(name = "message-interpolator")
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected String messageInterpolator;
@XmlElement(name = "traversable-resolver")
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected String traversableResolver;
@XmlElement(name = "constraint-validator-factory")
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected String constraintValidatorFactory;
@XmlElement(name = "parameter-name-provider")
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected String parameterNameProvider;
@XmlElement(name = "executable-validation")
protected ExecutableValidationType executableValidation;
@XmlElement(name = "constraint-mapping")
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected List constraintMapping;
protected List property;
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(javax.xml.bind.annotation.adapters.CollapsedStringAdapter.class)
protected String version;
/**
* Gets the value of the defaultProvider property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDefaultProvider() {
return defaultProvider;
}
/**
* Sets the value of the defaultProvider property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDefaultProvider(String value) {
this.defaultProvider = value;
}
/**
* Gets the value of the messageInterpolator property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessageInterpolator() {
return messageInterpolator;
}
/**
* Sets the value of the messageInterpolator property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessageInterpolator(String value) {
this.messageInterpolator = value;
}
/**
* Gets the value of the traversableResolver property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTraversableResolver() {
return traversableResolver;
}
/**
* Sets the value of the traversableResolver property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTraversableResolver(String value) {
this.traversableResolver = value;
}
/**
* Gets the value of the constraintValidatorFactory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getConstraintValidatorFactory() {
return constraintValidatorFactory;
}
/**
* Sets the value of the constraintValidatorFactory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setConstraintValidatorFactory(String value) {
this.constraintValidatorFactory = value;
}
/**
* Gets the value of the parameterNameProvider property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParameterNameProvider() {
return parameterNameProvider;
}
/**
* Sets the value of the parameterNameProvider property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParameterNameProvider(String value) {
this.parameterNameProvider = value;
}
/**
* Gets the value of the executableValidation property.
*
* @return
* possible object is
* {@link ExecutableValidationType }
*
*/
public ExecutableValidationType getExecutableValidation() {
return executableValidation;
}
/**
* Sets the value of the executableValidation property.
*
* @param value
* allowed object is
* {@link ExecutableValidationType }
*
*/
public void setExecutableValidation(ExecutableValidationType value) {
this.executableValidation = 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
* {@link String }
*
*
*/
public List getConstraintMapping() {
if (constraintMapping == null) {
constraintMapping = new ArrayList();
}
return this.constraintMapping;
}
/**
* 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
* {@link PropertyType }
*
*
*/
public List getProperty() {
if (property == null) {
property = new ArrayList();
}
return this.property;
}
/**
* Gets the value of the version property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersion() {
if (version == null) {
return "1.1";
} else {
return version;
}
}
/**
* Sets the value of the version property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersion(String value) {
this.version = value;
}
}