org.hibernate.internal.jaxb.mapping.hbm.JaxbOneToManyElement Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.07.16 at 04:28:04 PM PDT
//
package org.hibernate.internal.jaxb.mapping.hbm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for one-to-many-element complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="one-to-many-element">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="embed-xml" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="not-found" type="{http://www.hibernate.org/xsd/hibernate-mapping}not-found-attribute" default="exception" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "one-to-many-element")
public class JaxbOneToManyElement {
@XmlAttribute(name = "class")
protected String clazz;
@XmlAttribute(name = "embed-xml")
protected Boolean embedXml;
@XmlAttribute(name = "entity-name")
protected String entityName;
@XmlAttribute
protected String node;
@XmlAttribute(name = "not-found")
protected JaxbNotFoundAttribute notFound;
/**
* 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 embedXml property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isEmbedXml() {
if (embedXml == null) {
return true;
} else {
return embedXml;
}
}
/**
* Sets the value of the embedXml property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setEmbedXml(Boolean value) {
this.embedXml = value;
}
/**
* Gets the value of the entityName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityName() {
return entityName;
}
/**
* Sets the value of the entityName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityName(String value) {
this.entityName = value;
}
/**
* Gets the value of the node property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNode() {
return node;
}
/**
* Sets the value of the node property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNode(String value) {
this.node = value;
}
/**
* Gets the value of the notFound property.
*
* @return
* possible object is
* {@link JaxbNotFoundAttribute }
*
*/
public JaxbNotFoundAttribute getNotFound() {
if (notFound == null) {
return JaxbNotFoundAttribute.EXCEPTION;
} else {
return notFound;
}
}
/**
* Sets the value of the notFound property.
*
* @param value
* allowed object is
* {@link JaxbNotFoundAttribute }
*
*/
public void setNotFound(JaxbNotFoundAttribute value) {
this.notFound = value;
}
}