org.apache.bval.jsr303.xml.ValidationConfigType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.02.03 at 10:35:10 PM EST
//
package org.apache.bval.jsr303.xml;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
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="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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@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", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String defaultProvider;
@XmlElement(name = "message-interpolator", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String messageInterpolator;
@XmlElement(name = "traversable-resolver", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String traversableResolver;
@XmlElement(name = "constraint-validator-factory", namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String constraintValidatorFactory;
@XmlElementRef(name = "constraint-mapping", namespace = "http://jboss.org/xml/ns/javax/validation/configuration", type = JAXBElement.class)
protected List> constraintMapping;
@XmlElement(namespace = "http://jboss.org/xml/ns/javax/validation/configuration")
protected List property;
/**
* 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 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 JAXBElement }{@code <}{@link String }{@code >}
*
*
*/
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;
}
}