org.hibernate.boot.jaxb.mapping.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-jakarta Show documentation
Show all versions of hibernate-core-jakarta Show documentation
Hibernate O/RM implementation of the Jakarta Persistence specification
//
// 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: 2022.03.16 at 05:21:49 PM UTC
//
package org.hibernate.boot.jaxb.mapping.spi;
import jakarta.persistence.EnumType;
import jakarta.xml.bind.annotation.adapters.XmlAdapter;
public class Adapter4
extends XmlAdapter
{
public EnumType unmarshal(String value) {
return (org.hibernate.boot.jaxb.mapping.internal.EnumTypeMarshalling.fromXml(value));
}
public String marshal(EnumType value) {
return (org.hibernate.boot.jaxb.mapping.internal.EnumTypeMarshalling.toXml(value));
}
}