Top Description Inners Fields Constructors Methods
org.hibernate.boot.cfgxml.spi

public Class MappingReference

extends Object
Class Inheritance
Imports
java.io.File, org.hibernate.boot.MetadataSources, org.hibernate.boot.jaxb.cfg.spi.JaxbCfgMappingReferenceType, org.hibernate.internal.util.StringHelper, org.hibernate.internal.util.config.ConfigurationException

Represents a <mapping/> element within a cfg.xml file.
Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
private final String
private final MappingReference.Type

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
apply(MetadataSources metadataSources)

public static MappingReference
public String
public MappingReference.Type
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

referenceback to summary
private final String reference
typeback to summary
private final MappingReference.Type type

Constructor Detail

MappingReferenceback to summary
public MappingReference(MappingReference.Type type, String reference)

Method Detail

applyback to summary
public void apply(MetadataSources metadataSources)
consumeback to summary
public static MappingReference consume(JaxbCfgMappingReferenceType jaxbMapping)
getReferenceback to summary
public String getReference()
getTypeback to summary
public MappingReference.Type getType()
org.hibernate.boot.cfgxml.spi back to summary

public final Enum MappingReference.Type

extends Enum<MappingReference.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final MappingReference.Type
public static final MappingReference.Type
public static final MappingReference.Type
public static final MappingReference.Type
public static final MappingReference.Type

Constructor Summary

AccessConstructor and Description
private
Type()

Method Summary

Modifier and TypeMethod and Description
public static MappingReference.Type
public static MappingReference.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CLASSback to summary
public static final MappingReference.Type CLASS
FILEback to summary
public static final MappingReference.Type FILE
JARback to summary
public static final MappingReference.Type JAR
PACKAGEback to summary
public static final MappingReference.Type PACKAGE
RESOURCEback to summary
public static final MappingReference.Type RESOURCE

Constructor Detail

Typeback to summary
private Type()

Method Detail

valueOfback to summary
public static MappingReference.Type valueOf(String name)
valuesback to summary
public static MappingReference.Type[] values()