org.hibernate.validator.internal.xml.binding.ExecutableValidationType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bean-validator Show documentation
Show all versions of bean-validator Show documentation
JSR 380's RI, Hibernate Validator version ${hibernate-validator.version} and its dependencies repackaged as OSGi bundle
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.05.15 at 10:46:31 AM UTC
//
package org.hibernate.validator.internal.xml.binding;
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;
/**
* Java class for executable-validationType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="executable-validationType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="default-validated-executable-types" type="{http://xmlns.jcp.org/xml/ns/validation/configuration}default-validated-executable-typesType" minOccurs="0"/>
* </sequence>
* <attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "executable-validationType", namespace = "http://xmlns.jcp.org/xml/ns/validation/configuration", propOrder = {
"defaultValidatedExecutableTypes"
})
public class ExecutableValidationType {
@XmlElement(name = "default-validated-executable-types")
protected DefaultValidatedExecutableTypesType defaultValidatedExecutableTypes;
@XmlAttribute(name = "enabled")
protected Boolean enabled;
/**
* Gets the value of the defaultValidatedExecutableTypes property.
*
* @return
* possible object is
* {@link DefaultValidatedExecutableTypesType }
*
*/
public DefaultValidatedExecutableTypesType getDefaultValidatedExecutableTypes() {
return defaultValidatedExecutableTypes;
}
/**
* Sets the value of the defaultValidatedExecutableTypes property.
*
* @param value
* allowed object is
* {@link DefaultValidatedExecutableTypesType }
*
*/
public void setDefaultValidatedExecutableTypes(DefaultValidatedExecutableTypesType value) {
this.defaultValidatedExecutableTypes = value;
}
/**
* Gets the value of the enabled property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getEnabled() {
if (enabled == null) {
return true;
} else {
return enabled;
}
}
/**
* Sets the value of the enabled property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setEnabled(Boolean value) {
this.enabled = value;
}
}