io.hawt.dozer.schema.FieldExclude Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hawtio-dozer-schemagen Show documentation
Show all versions of hawtio-dozer-schemagen Show documentation
hawtio :: hawtio-dozer-schema
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2017.08.01 at 07:31:55 AM EDT
//
package io.hawt.dozer.schema;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://dozer.sourceforge.net}a"/>
* <element ref="{http://dozer.sourceforge.net}b"/>
* </sequence>
* <attribute name="type" type="{http://dozer.sourceforge.net}type" default="bi-directional" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"a",
"b"
})
@XmlRootElement(name = "field-exclude")
public class FieldExclude {
@XmlElement(required = true)
protected FieldDefinition a;
@XmlElement(required = true)
protected FieldDefinition b;
@XmlAttribute(name = "type")
protected Type type;
/**
* Gets the value of the a property.
*
* @return
* possible object is
* {@link FieldDefinition }
*
*/
public FieldDefinition getA() {
return a;
}
/**
* Sets the value of the a property.
*
* @param value
* allowed object is
* {@link FieldDefinition }
*
*/
public void setA(FieldDefinition value) {
this.a = value;
}
/**
* Gets the value of the b property.
*
* @return
* possible object is
* {@link FieldDefinition }
*
*/
public FieldDefinition getB() {
return b;
}
/**
* Sets the value of the b property.
*
* @param value
* allowed object is
* {@link FieldDefinition }
*
*/
public void setB(FieldDefinition value) {
this.b = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link Type }
*
*/
public Type getType() {
if (type == null) {
return Type.BI_DIRECTIONAL;
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link Type }
*
*/
public void setType(Type value) {
this.type = value;
}
}