Package org.hibernate.boot.cfgxml.spi
Class MappingReference
- java.lang.Object
-
- org.hibernate.boot.cfgxml.spi.MappingReference
-
public class MappingReference extends java.lang.Object
Represents a<mapping/>
element within a cfg.xml file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MappingReference.Type
-
Constructor Summary
Constructors Constructor Description MappingReference(MappingReference.Type type, java.lang.String reference)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(MetadataSources metadataSources)
static MappingReference
consume(JaxbCfgMappingReferenceType jaxbMapping)
java.lang.String
getReference()
MappingReference.Type
getType()
-
-
-
Constructor Detail
-
MappingReference
public MappingReference(MappingReference.Type type, java.lang.String reference)
-
-
Method Detail
-
getType
public MappingReference.Type getType()
-
getReference
public java.lang.String getReference()
-
consume
public static MappingReference consume(JaxbCfgMappingReferenceType jaxbMapping)
-
apply
public void apply(MetadataSources metadataSources)
-
-