org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityBaseDefinition 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 EntityBaseDefinition complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EntityBaseDefinition">
* <complexContent>
* <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
* <attribute name="name" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
* <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* <attribute name="proxy" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
* <attribute name="batch-size" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
* <attribute name="dynamic-insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="dynamic-update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="select-before-update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="persister" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EntityBaseDefinition")
public abstract class JaxbHbmEntityBaseDefinition
extends JaxbHbmToolingHintContainer
implements Serializable, EntityInfo
{
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "entity-name")
protected String entityName;
@XmlAttribute(name = "abstract")
protected Boolean _abstract;
@XmlAttribute(name = "lazy")
protected Boolean lazy;
@XmlAttribute(name = "proxy")
protected String proxy;
@XmlAttribute(name = "batch-size")
protected Integer batchSize;
@XmlAttribute(name = "dynamic-insert")
protected Boolean dynamicInsert;
@XmlAttribute(name = "dynamic-update")
protected Boolean dynamicUpdate;
@XmlAttribute(name = "select-before-update")
protected Boolean selectBeforeUpdate;
@XmlAttribute(name = "node")
protected String node;
@XmlAttribute(name = "persister")
protected String persister;
/**
* 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 entityName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEntityName() {
return entityName;
}
/**
* Sets the value of the entityName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityName(String value) {
this.entityName = value;
}
/**
* Gets the value of the abstract property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAbstract() {
return _abstract;
}
/**
* Sets the value of the abstract property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAbstract(Boolean value) {
this._abstract = value;
}
/**
* Gets the value of the lazy property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isLazy() {
return lazy;
}
/**
* Sets the value of the lazy property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setLazy(Boolean value) {
this.lazy = value;
}
/**
* Gets the value of the proxy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProxy() {
return proxy;
}
/**
* Sets the value of the proxy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProxy(String value) {
this.proxy = value;
}
/**
* Gets the value of the batchSize property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public int getBatchSize() {
if (batchSize == null) {
return -1;
} else {
return batchSize;
}
}
/**
* Sets the value of the batchSize property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setBatchSize(Integer value) {
this.batchSize = value;
}
/**
* Gets the value of the dynamicInsert property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isDynamicInsert() {
if (dynamicInsert == null) {
return false;
} else {
return dynamicInsert;
}
}
/**
* Sets the value of the dynamicInsert property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDynamicInsert(Boolean value) {
this.dynamicInsert = value;
}
/**
* Gets the value of the dynamicUpdate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isDynamicUpdate() {
if (dynamicUpdate == null) {
return false;
} else {
return dynamicUpdate;
}
}
/**
* Sets the value of the dynamicUpdate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDynamicUpdate(Boolean value) {
this.dynamicUpdate = value;
}
/**
* Gets the value of the selectBeforeUpdate property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isSelectBeforeUpdate() {
if (selectBeforeUpdate == null) {
return false;
} else {
return selectBeforeUpdate;
}
}
/**
* Sets the value of the selectBeforeUpdate property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setSelectBeforeUpdate(Boolean value) {
this.selectBeforeUpdate = 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 persister property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPersister() {
return persister;
}
/**
* Sets the value of the persister property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPersister(String value) {
this.persister = value;
}
}