org.hibernate.boot.jaxb.hbm.spi.Adapter2 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
The core O/RM functionality as provided by Hibernate
The newest version!
//
// 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: 2017.10.07 at 10:18:24 PM CEST
//
package org.hibernate.boot.jaxb.hbm.spi;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import org.hibernate.cache.spi.access.AccessType;
public class Adapter2
extends XmlAdapter
{
public AccessType unmarshal(String value) {
return (org.hibernate.boot.jaxb.hbm.internal.CacheAccessTypeConverter.fromXml(value));
}
public String marshal(AccessType value) {
return (org.hibernate.boot.jaxb.hbm.internal.CacheAccessTypeConverter.toXml(value));
}
}