Top Description Fields Constructors Methods
org.hibernate.boot.model.internal

public Class ToOneFkSecondPass

extends FkSecondPass
Class Inheritance
Imports
org.hibernate.AnnotationException, .AssertionFailure, .MappingException, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Component, .KeyValue, .ManyToOne, .OneToOne, .PersistentClass, .Property, .ToOne

Enable a proper set of the FK columns in respect with the id column order Allow the correct implementation of the default EJB3 values which needs both sides of the association to be resolved
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final MetadataBuildingContext
private final String
private final String
private final PersistentClass
private final boolean
Inherited from org.hibernate.boot.model.internal.FkSecondPass:
columnsvalue

Constructor Summary

AccessConstructor and Description
public
ToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext)

Method Summary

Modifier and TypeMethod and Description
public void
doSecondPass(Map<String, PersistentClass> persistentClasses)

Implements org.hibernate.boot.spi.SecondPass.doSecondPass.

Perform the operation
public String
public boolean
Inherited from org.hibernate.boot.model.internal.FkSecondPass:
equalsgetValuehashCode

Field Detail

buildingContextback to summary
private final MetadataBuildingContext buildingContext
entityClassNameback to summary
private final String entityClassName
pathback to summary
private final String path
persistentClassback to summary
private final PersistentClass persistentClass
uniqueback to summary
private final boolean unique

Constructor Detail

ToOneFkSecondPassback to summary
public ToOneFkSecondPass(ToOne value, AnnotatedJoinColumns columns, boolean unique, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext)

Method Detail

doSecondPassback to summary
public void doSecondPass(Map<String, PersistentClass> persistentClasses) throws MappingException

Implements org.hibernate.boot.spi.SecondPass.doSecondPass.

Doc from org.hibernate.boot.spi.SecondPass.doSecondPass.

Perform the operation

Annotations
@Override
getReferencedEntityNameback to summary
public String getReferencedEntityName()

Implements abstract org.hibernate.boot.model.internal.FkSecondPass.getReferencedEntityName.

Annotations
@Override
isInPrimaryKeyback to summary
public boolean isInPrimaryKey()

Implements abstract org.hibernate.boot.model.internal.FkSecondPass.isInPrimaryKey.

Annotations
@Override