Class RecordableXmlMapping
- java.lang.Object
-
- io.quarkus.hibernate.orm.runtime.boot.xml.RecordableXmlMapping
-
public class RecordableXmlMapping extends Object
A substitute to Hibernate ORM's "Binding", which is actually a representation of a parsed XML mapping file (orm.xml or hbm.xml).On contrary to Binding, this class can be serialized/deserialized by the BytecodeRecorder.
-
-
Constructor Summary
Constructors Constructor Description RecordableXmlMapping(org.hibernate.boot.jaxb.mapping.JaxbEntityMappings ormXmlRoot, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping hbmXmlRoot, org.hibernate.boot.jaxb.SourceType originType, String originName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecordableXmlMapping
create(org.hibernate.boot.jaxb.spi.Binding<?> binding)
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping
getHbmXmlRoot()
String
getOriginName()
org.hibernate.boot.jaxb.SourceType
getOriginType()
org.hibernate.boot.jaxb.mapping.JaxbEntityMappings
getOrmXmlRoot()
org.hibernate.boot.jaxb.spi.Binding<?>
toHibernateOrmBinding()
String
toString()
-
-
-
Constructor Detail
-
RecordableXmlMapping
public RecordableXmlMapping(org.hibernate.boot.jaxb.mapping.JaxbEntityMappings ormXmlRoot, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping hbmXmlRoot, org.hibernate.boot.jaxb.SourceType originType, String originName)
-
-
Method Detail
-
create
public static RecordableXmlMapping create(org.hibernate.boot.jaxb.spi.Binding<?> binding)
-
getOrmXmlRoot
public org.hibernate.boot.jaxb.mapping.JaxbEntityMappings getOrmXmlRoot()
-
getHbmXmlRoot
public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping getHbmXmlRoot()
-
getOriginType
public org.hibernate.boot.jaxb.SourceType getOriginType()
-
getOriginName
public String getOriginName()
-
toHibernateOrmBinding
public org.hibernate.boot.jaxb.spi.Binding<?> toHibernateOrmBinding()
-
-