org.hibernate.internal.jaxb.mapping.hbm.JaxbOneToOneElement 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.05.28 at 02:02:03 PM PDT
//
package org.hibernate.internal.jaxb.mapping.hbm;
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.XmlType;
/**
* Java class for one-to-one-element complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="one-to-one-element">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
* <element name="formula" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="cascade" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="constrained" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <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="fetch" type="{http://www.hibernate.org/xsd/hibernate-mapping}fetch-attribute" />
* <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="lazy" type="{http://www.hibernate.org/xsd/hibernate-mapping}lazy-attribute-with-no-proxy" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="outer-join" type="{http://www.hibernate.org/xsd/hibernate-mapping}outer-join-attribute" />
* <attribute name="property-ref" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "one-to-one-element", propOrder = {
"meta",
"formula"
})
public class JaxbOneToOneElement {
protected List meta;
protected List formula;
@XmlAttribute
protected String access;
@XmlAttribute
protected String cascade;
@XmlAttribute(name = "class")
protected String clazz;
@XmlAttribute
protected Boolean constrained;
@XmlAttribute(name = "embed-xml")
protected Boolean embedXml;
@XmlAttribute(name = "entity-name")
protected String entityName;
@XmlAttribute
protected JaxbFetchAttribute fetch;
@XmlAttribute(name = "foreign-key")
protected String foreignKey;
@XmlAttribute(name = "formula")
protected String formulaAttribute;
@XmlAttribute
protected JaxbLazyAttributeWithNoProxy lazy;
@XmlAttribute(required = true)
protected String name;
@XmlAttribute
protected String node;
@XmlAttribute(name = "outer-join")
protected JaxbOuterJoinAttribute outerJoin;
@XmlAttribute(name = "property-ref")
protected String propertyRef;
/**
* Gets the value of the meta 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 meta property.
*
*
* For example, to add a new item, do as follows:
*
* getMeta().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbMetaElement }
*
*
*/
public List getMeta() {
if (meta == null) {
meta = new ArrayList();
}
return this.meta;
}
/**
* Gets the value of the formula 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 formula property.
*
*
* For example, to add a new item, do as follows:
*
* getFormula().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getFormula() {
if (formula == null) {
formula = new ArrayList();
}
return this.formula;
}
/**
* Gets the value of the access property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccess() {
return access;
}
/**
* Sets the value of the access property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccess(String value) {
this.access = value;
}
/**
* Gets the value of the cascade property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCascade() {
return cascade;
}
/**
* Sets the value of the cascade property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCascade(String value) {
this.cascade = value;
}
/**
* 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 constrained property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isConstrained() {
if (constrained == null) {
return false;
} else {
return constrained;
}
}
/**
* Sets the value of the constrained property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setConstrained(Boolean value) {
this.constrained = 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 fetch property.
*
* @return
* possible object is
* {@link JaxbFetchAttribute }
*
*/
public JaxbFetchAttribute getFetch() {
return fetch;
}
/**
* Sets the value of the fetch property.
*
* @param value
* allowed object is
* {@link JaxbFetchAttribute }
*
*/
public void setFetch(JaxbFetchAttribute value) {
this.fetch = value;
}
/**
* Gets the value of the foreignKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getForeignKey() {
return foreignKey;
}
/**
* Sets the value of the foreignKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setForeignKey(String value) {
this.foreignKey = value;
}
/**
* Gets the value of the formulaAttribute property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormulaAttribute() {
return formulaAttribute;
}
/**
* Sets the value of the formulaAttribute property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormulaAttribute(String value) {
this.formulaAttribute = value;
}
/**
* Gets the value of the lazy property.
*
* @return
* possible object is
* {@link JaxbLazyAttributeWithNoProxy }
*
*/
public JaxbLazyAttributeWithNoProxy getLazy() {
return lazy;
}
/**
* Sets the value of the lazy property.
*
* @param value
* allowed object is
* {@link JaxbLazyAttributeWithNoProxy }
*
*/
public void setLazy(JaxbLazyAttributeWithNoProxy value) {
this.lazy = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = 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 outerJoin property.
*
* @return
* possible object is
* {@link JaxbOuterJoinAttribute }
*
*/
public JaxbOuterJoinAttribute getOuterJoin() {
return outerJoin;
}
/**
* Sets the value of the outerJoin property.
*
* @param value
* allowed object is
* {@link JaxbOuterJoinAttribute }
*
*/
public void setOuterJoin(JaxbOuterJoinAttribute value) {
this.outerJoin = value;
}
/**
* Gets the value of the propertyRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPropertyRef() {
return propertyRef;
}
/**
* Sets the value of the propertyRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPropertyRef(String value) {
this.propertyRef = value;
}
}