org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCollectionIdType 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.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: 2021.12.16 at 10:50:38 AM UTC
//
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.XmlType;
/**
* Java class for CollectionIdType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CollectionIdType">
* <complexContent>
* <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
* <sequence>
* <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="generator" type="{http://www.hibernate.org/xsd/orm/hbm}GeneratorSpecificationType"/>
* </sequence>
* <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CollectionIdType", namespace = "http://www.hibernate.org/xsd/orm/hbm", propOrder = {
"column",
"generator"
})
public class JaxbHbmCollectionIdType
extends JaxbHbmToolingHintContainer
implements Serializable
{
@XmlElement(namespace = "http://www.hibernate.org/xsd/orm/hbm")
protected List column;
@XmlElement(namespace = "http://www.hibernate.org/xsd/orm/hbm", required = true)
protected JaxbHbmGeneratorSpecificationType generator;
@XmlAttribute(name = "column", required = true)
protected String columnAttribute;
@XmlAttribute(name = "length")
protected Integer length;
@XmlAttribute(name = "type", required = true)
protected String type;
/**
* Gets the value of the column 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 column property.
*
*
* For example, to add a new item, do as follows:
*
* getColumn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmColumnType }
*
*
*/
public List getColumn() {
if (column == null) {
column = new ArrayList();
}
return this.column;
}
/**
* Gets the value of the generator property.
*
* @return
* possible object is
* {@link JaxbHbmGeneratorSpecificationType }
*
*/
public JaxbHbmGeneratorSpecificationType getGenerator() {
return generator;
}
/**
* Sets the value of the generator property.
*
* @param value
* allowed object is
* {@link JaxbHbmGeneratorSpecificationType }
*
*/
public void setGenerator(JaxbHbmGeneratorSpecificationType value) {
this.generator = 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 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 type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}