Top Description Constructors Methods
org.hibernate.cfg

public Class ToOneBinder

extends Object
Class Inheritance
Imports
javax.persistence.ManyToOne, .OneToOne, org.hibernate.AssertionFailure, org.hibernate.annotations.common.reflection.XClass, .XProperty, org.hibernate.boot.spi.MetadataBuildingContext

Work in progress The goal of this class is to aggregate all operations related to ToOne binding operations
Author
Emmanuel Bernard

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
getReferenceEntityName(PropertyData propertyData, XClass targetEntity, MetadataBuildingContext buildingContext)

public static String
public static XClass
getTargetEntity(PropertyData propertyData, MetadataBuildingContext buildingContext)

private static Class<?>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ToOneBinderback to summary
public ToOneBinder()

Method Detail

getReferenceEntityNameback to summary
public static String getReferenceEntityName(PropertyData propertyData, XClass targetEntity, MetadataBuildingContext buildingContext)
getReferenceEntityNameback to summary
public static String getReferenceEntityName(PropertyData propertyData, MetadataBuildingContext buildingContext)
getTargetEntityback to summary
public static XClass getTargetEntity(PropertyData propertyData, MetadataBuildingContext buildingContext)
getTargetEntityClassback to summary
private static Class<?> getTargetEntityClass(XProperty property)