All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.jaxb.hbm.spi.JaxbHbmColumnType Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
//
// 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: 2019.10.08 at 09:56:04 AM BST 
//


package org.hibernate.boot.jaxb.hbm.spi;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *                 The column element is an alternative to column attributes and required for
 *                 mapping associations to classes with composite ids.
 *             
 * 
 * 

Java class for ColumnType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ColumnType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="check" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="read" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="sql-type" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="unique-key" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="write" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ColumnType", propOrder = { "comment" }) public class JaxbHbmColumnType implements Serializable { protected String comment; @XmlAttribute(name = "check") protected String check; @XmlAttribute(name = "default") protected String _default; @XmlAttribute(name = "index") protected String index; @XmlAttribute(name = "length") protected Integer length; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "not-null") protected Boolean notNull; @XmlAttribute(name = "precision") protected Integer precision; @XmlAttribute(name = "read") protected String read; @XmlAttribute(name = "scale") protected Integer scale; @XmlAttribute(name = "sql-type") protected String sqlType; @XmlAttribute(name = "unique") protected Boolean unique; @XmlAttribute(name = "unique-key") protected String uniqueKey; @XmlAttribute(name = "write") protected String write; /** * Gets the value of the comment property. * * @return * possible object is * {@link String } * */ public String getComment() { return comment; } /** * Sets the value of the comment property. * * @param value * allowed object is * {@link String } * */ public void setComment(String value) { this.comment = value; } /** * Gets the value of the check property. * * @return * possible object is * {@link String } * */ public String getCheck() { return check; } /** * Sets the value of the check property. * * @param value * allowed object is * {@link String } * */ public void setCheck(String value) { this.check = value; } /** * Gets the value of the default property. * * @return * possible object is * {@link String } * */ public String getDefault() { return _default; } /** * Sets the value of the default property. * * @param value * allowed object is * {@link String } * */ public void setDefault(String value) { this._default = value; } /** * Gets the value of the index property. * * @return * possible object is * {@link String } * */ public String getIndex() { return index; } /** * Sets the value of the index property. * * @param value * allowed object is * {@link String } * */ public void setIndex(String value) { this.index = 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 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 notNull property. * * @return * possible object is * {@link Boolean } * */ public Boolean isNotNull() { return notNull; } /** * Sets the value of the notNull property. * * @param value * allowed object is * {@link Boolean } * */ public void setNotNull(Boolean value) { this.notNull = value; } /** * Gets the value of the precision property. * * @return * possible object is * {@link Integer } * */ public Integer getPrecision() { return precision; } /** * Sets the value of the precision property. * * @param value * allowed object is * {@link Integer } * */ public void setPrecision(Integer value) { this.precision = value; } /** * Gets the value of the read property. * * @return * possible object is * {@link String } * */ public String getRead() { return read; } /** * Sets the value of the read property. * * @param value * allowed object is * {@link String } * */ public void setRead(String value) { this.read = value; } /** * Gets the value of the scale property. * * @return * possible object is * {@link Integer } * */ public Integer getScale() { return scale; } /** * Sets the value of the scale property. * * @param value * allowed object is * {@link Integer } * */ public void setScale(Integer value) { this.scale = value; } /** * Gets the value of the sqlType property. * * @return * possible object is * {@link String } * */ public String getSqlType() { return sqlType; } /** * Sets the value of the sqlType property. * * @param value * allowed object is * {@link String } * */ public void setSqlType(String value) { this.sqlType = value; } /** * Gets the value of the unique property. * * @return * possible object is * {@link Boolean } * */ public Boolean isUnique() { return unique; } /** * Sets the value of the unique property. * * @param value * allowed object is * {@link Boolean } * */ public void setUnique(Boolean value) { this.unique = value; } /** * Gets the value of the uniqueKey property. * * @return * possible object is * {@link String } * */ public String getUniqueKey() { return uniqueKey; } /** * Sets the value of the uniqueKey property. * * @param value * allowed object is * {@link String } * */ public void setUniqueKey(String value) { this.uniqueKey = value; } /** * Gets the value of the write property. * * @return * possible object is * {@link String } * */ public String getWrite() { return write; } /** * Sets the value of the write property. * * @param value * allowed object is * {@link String } * */ public void setWrite(String value) { this.write = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy