org.hibernate.boot.jaxb.hbm.spi.Adapter4 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 javax.xml.bind.annotation.adapters.XmlAdapter;
import org.hibernate.EntityMode;
public class Adapter4
extends XmlAdapter
{
public EntityMode unmarshal(String value) {
return (org.hibernate.boot.jaxb.hbm.internal.EntityModeConverter.fromXml(value));
}
public String marshal(EntityMode value) {
return (org.hibernate.boot.jaxb.hbm.internal.EntityModeConverter.toXml(value));
}
}