org.hibernate.internal.jaxb.mapping.hbm.JaxbFilterElement 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: 2015.01.06 at 12:10:24 PM PST
//
package org.hibernate.internal.jaxb.mapping.hbm;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for filter-element complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="filter-element">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="aliases" type="{http://www.hibernate.org/xsd/hibernate-mapping}alias-table" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="condition" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="autoAliasInjection" type="{http://www.w3.org/2001/XMLSchema}string" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "filter-element", propOrder = {
"content"
})
public class JaxbFilterElement {
@XmlElementRef(name = "aliases", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class)
@XmlMixed
protected List content;
@XmlAttribute
protected String condition;
@XmlAttribute(required = true)
protected String name;
@XmlAttribute
protected String autoAliasInjection;
/**
* Gets the value of the content 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 content property.
*
*
* For example, to add a new item, do as follows:
*
* getContent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
* {@link JAXBElement }{@code <}{@link JaxbAliasTable }{@code >}
*
*
*/
public List getContent() {
if (content == null) {
content = new ArrayList();
}
return this.content;
}
/**
* Gets the value of the condition property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCondition() {
return condition;
}
/**
* Sets the value of the condition property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCondition(String value) {
this.condition = 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 autoAliasInjection property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAutoAliasInjection() {
if (autoAliasInjection == null) {
return "true";
} else {
return autoAliasInjection;
}
}
/**
* Sets the value of the autoAliasInjection property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAutoAliasInjection(String value) {
this.autoAliasInjection = value;
}
}