org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyBasicType Maven / Gradle / Ivy
Show all versions of hibernate-core-jakarta Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.03.16 at 05:21:49 PM UTC
//
package org.hibernate.boot.jaxb.hbm.spi;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlType;
/**
*
* Describes the key of a java.util.Map where the key is a basic (JPA term) type
*
*
* Java class for MapKeyBasicType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MapKeyBasicType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice maxOccurs="unbounded" minOccurs="0">
* <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula"/>
* </choice>
* <element name="type" type="{http://www.hibernate.org/xsd/orm/hbm}TypeSpecificationType" minOccurs="0"/>
* </sequence>
* <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MapKeyBasicType", namespace = "http://www.hibernate.org/xsd/orm/hbm", propOrder = {
"columnOrFormula",
"type"
})
public class JaxbHbmMapKeyBasicType
implements Serializable, TypeContainer
{
@XmlElements({
@XmlElement(name = "column", namespace = "http://www.hibernate.org/xsd/orm/hbm", type = JaxbHbmColumnType.class),
@XmlElement(name = "formula", namespace = "http://www.hibernate.org/xsd/orm/hbm", type = String.class)
})
protected List columnOrFormula;
@XmlElement(namespace = "http://www.hibernate.org/xsd/orm/hbm")
protected JaxbHbmTypeSpecificationType type;
@XmlAttribute(name = "column")
protected String columnAttribute;
@XmlAttribute(name = "formula")
protected String formulaAttribute;
@XmlAttribute(name = "length")
protected Integer length;
@XmlAttribute(name = "node")
protected String node;
@XmlAttribute(name = "type")
protected String typeAttribute;
/**
* 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 type property.
*
* @return
* possible object is
* {@link JaxbHbmTypeSpecificationType }
*
*/
public JaxbHbmTypeSpecificationType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link JaxbHbmTypeSpecificationType }
*
*/
public void setType(JaxbHbmTypeSpecificationType value) {
this.type = 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 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 length property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLength(Integer value) {
this.length = 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 typeAttribute property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeAttribute() {
return typeAttribute;
}
/**
* Sets the value of the typeAttribute property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeAttribute(String value) {
this.typeAttribute = value;
}
}