org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMultiTenancyType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// 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;
/**
* Java class for multi-tenancy-type complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="multi-tenancy-type">
* <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="formula" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="shared" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="bind-as-param" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "multi-tenancy-type", propOrder = {
"column",
"formula"
})
public class JaxbHbmMultiTenancyType
implements Serializable
{
protected JaxbHbmColumnType column;
protected String formula;
@XmlAttribute(name = "column")
protected String columnAttribute;
@XmlAttribute(name = "formula")
protected String formulaAttribute;
@XmlAttribute(name = "shared")
protected Boolean shared;
@XmlAttribute(name = "bind-as-param")
protected Boolean bindAsParam;
/**
* 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 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 shared property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isShared() {
if (shared == null) {
return true;
} else {
return shared;
}
}
/**
* Sets the value of the shared property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setShared(Boolean value) {
this.shared = value;
}
/**
* Gets the value of the bindAsParam property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isBindAsParam() {
if (bindAsParam == null) {
return true;
} else {
return bindAsParam;
}
}
/**
* Sets the value of the bindAsParam property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setBindAsParam(Boolean value) {
this.bindAsParam = value;
}
}