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

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

There is a newer version: 6.5.0.CR2
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.03.21 at 04:13:28 PM CET 
//


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;


/**
 * 
 *                 Polymorphic data requires a column holding a class discriminator value. This
 *                 value is not directly exposed to the application.
 *             
 * 
 * 

Java class for EntityDiscriminatorType complex type. * *

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

 * <complexType name="EntityDiscriminatorType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="force" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
 *       <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EntityDiscriminatorType", propOrder = { "column", "formula" }) public class JaxbHbmEntityDiscriminatorType implements Serializable { protected JaxbHbmColumnType column; protected String formula; @XmlAttribute(name = "column") protected String columnAttribute; @XmlAttribute(name = "force") protected Boolean force; @XmlAttribute(name = "formula") protected String formulaAttribute; @XmlAttribute(name = "insert") protected Boolean insert; @XmlAttribute(name = "length") protected Integer length; @XmlAttribute(name = "not-null") protected Boolean notNull; @XmlAttribute(name = "type") protected String type; /** * Gets the value of the column property. * * @return * possible object is * {@link JaxbHbmColumnType } * */ public JaxbHbmColumnType getColumn() { return column; } /** * Sets the value of the column property. * * @param value * allowed object is * {@link JaxbHbmColumnType } * */ public void setColumn(JaxbHbmColumnType value) { this.column = value; } /** * Gets the value of the formula property. * * @return * possible object is * {@link String } * */ public String getFormula() { return formula; } /** * Sets the value of the formula property. * * @param value * allowed object is * {@link String } * */ public void setFormula(String value) { this.formula = 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 force property. * * @return * possible object is * {@link Boolean } * */ public boolean isForce() { if (force == null) { return false; } else { return force; } } /** * Sets the value of the force property. * * @param value * allowed object is * {@link Boolean } * */ public void setForce(Boolean value) { this.force = 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 insert property. * * @return * possible object is * {@link Boolean } * */ public boolean isInsert() { if (insert == null) { return true; } else { return insert; } } /** * Sets the value of the insert property. * * @param value * allowed object is * {@link Boolean } * */ public void setInsert(Boolean value) { this.insert = 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 notNull property. * * @return * possible object is * {@link Boolean } * */ public boolean isNotNull() { if (notNull == null) { return true; } else { 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "string"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy