org.hibernate.validator.internal.xml.binding.BeanType Maven / Gradle / Ivy
Show all versions of bean-validator Show documentation
//
// 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 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.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for beanType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="beanType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="class" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}classType" minOccurs="0"/>
* <element name="field" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}fieldType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="getter" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}getterType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="constructor" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}constructorType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="method" type="{http://xmlns.jcp.org/xml/ns/validation/mapping}methodType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="ignore-annotations" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "beanType", propOrder = {
"classType",
"field",
"getter",
"constructor",
"method"
})
public class BeanType {
@XmlElement(name = "class")
protected ClassType classType;
protected List field;
protected List getter;
protected List constructor;
protected List method;
@XmlAttribute(name = "class", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String clazz;
@XmlAttribute(name = "ignore-annotations")
protected Boolean ignoreAnnotations;
/**
* Gets the value of the classType property.
*
* @return
* possible object is
* {@link ClassType }
*
*/
public ClassType getClassType() {
return classType;
}
/**
* Sets the value of the classType property.
*
* @param value
* allowed object is
* {@link ClassType }
*
*/
public void setClassType(ClassType value) {
this.classType = value;
}
/**
* Gets the value of the field 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 field property.
*
*
* For example, to add a new item, do as follows:
*
* getField().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FieldType }
*
*
*/
public List getField() {
if (field == null) {
field = new ArrayList();
}
return this.field;
}
/**
* Gets the value of the getter 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 getter property.
*
*
* For example, to add a new item, do as follows:
*
* getGetter().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GetterType }
*
*
*/
public List getGetter() {
if (getter == null) {
getter = new ArrayList();
}
return this.getter;
}
/**
* Gets the value of the constructor 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 constructor property.
*
*
* For example, to add a new item, do as follows:
*
* getConstructor().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ConstructorType }
*
*
*/
public List getConstructor() {
if (constructor == null) {
constructor = new ArrayList();
}
return this.constructor;
}
/**
* Gets the value of the method 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 method property.
*
*
* For example, to add a new item, do as follows:
*
* getMethod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MethodType }
*
*
*/
public List getMethod() {
if (method == null) {
method = new ArrayList();
}
return this.method;
}
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClazz(String value) {
this.clazz = value;
}
/**
* Gets the value of the ignoreAnnotations property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getIgnoreAnnotations() {
if (ignoreAnnotations == null) {
return true;
} else {
return ignoreAnnotations;
}
}
/**
* Sets the value of the ignoreAnnotations property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIgnoreAnnotations(Boolean value) {
this.ignoreAnnotations = value;
}
}