org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyManyToManyType Maven / Gradle / Ivy
Show all versions of hibernate-core 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: 2017.10.07 at 10:18:24 PM CEST
//
package org.hibernate.boot.jaxb.hbm.spi;
import java.io.Serializable;
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.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
*
* Describes the key of a java.util.Map where the key is an association (FK)
*
*
* Java class for MapKeyManyToManyType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MapKeyManyToManyType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/>
* </sequence>
* <attribute name="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
* <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="foreign-key" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MapKeyManyToManyType", propOrder = {
"columnOrFormula"
})
public class JaxbHbmMapKeyManyToManyType
implements Serializable
{
@XmlElements({
@XmlElement(name = "column", type = JaxbHbmColumnType.class),
@XmlElement(name = "formula", type = String.class)
})
protected List columnOrFormula;
@XmlAttribute(name = "class")
protected String clazz;
@XmlAttribute(name = "column")
protected String columnAttribute;
@XmlAttribute(name = "entity-name")
protected String entityName;
@XmlAttribute(name = "foreign-key")
protected String foreignKey;
@XmlAttribute(name = "formula")
protected String formulaAttribute;
/**
* Gets the value of the columnOrFormula 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 columnOrFormula property.
*
*
* For example, to add a new item, do as follows:
*
* getColumnOrFormula().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmColumnType }
* {@link String }
*
*
*/
public List getColumnOrFormula() {
if (columnOrFormula == null) {
columnOrFormula = new ArrayList();
}
return this.columnOrFormula;
}
/**
* 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 columnAttribute property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getColumnAttribute() {
return columnAttribute;
}
/**
* Sets the value of the columnAttribute property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setColumnAttribute(String value) {
this.columnAttribute = 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 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;
}
}