org.hibernate.boot.jaxb.hbm.spi.JaxbHbmTuplizerType 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.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 10:44:24 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;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.hibernate.EntityMode;
/**
*
* TUPLIZER element; defines tuplizer to use for a component/entity for a given entity-mode
*
*
* Java class for tuplizer-type complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="tuplizer-type">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="class" use="required" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
* <attribute name="entity-mode" type="{http://www.hibernate.org/xsd/orm/hbm}EntityModeEnum" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tuplizer-type")
public class JaxbHbmTuplizerType
implements Serializable
{
@XmlAttribute(name = "class", required = true)
protected String clazz;
@XmlAttribute(name = "entity-mode")
@XmlJavaTypeAdapter(Adapter4 .class)
protected EntityMode entityMode;
/**
* Gets the value of the clazz property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClazz() {
return clazz;
}
/**
* Sets the value of the clazz property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setClazz(String value) {
this.clazz = value;
}
/**
* Gets the value of the entityMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public EntityMode getEntityMode() {
return entityMode;
}
/**
* Sets the value of the entityMode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEntityMode(EntityMode value) {
this.entityMode = value;
}
}