Top Fields Constructors Methods
org.hibernate.cfg

public Class CopyIdentifierComponentSecondPass

extends FkSecondPass
Class Inheritance
Imports
java.util.HashMap, .Iterator, .Locale, .Map, java.util.concurrent.atomic.AtomicInteger, org.hibernate.AnnotationException, .AssertionFailure, .MappingException, org.hibernate.boot.model.naming.Identifier, .PhysicalNamingStrategy, org.hibernate.boot.model.relational.Database, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.mapping.Column, .Component, .PersistentClass, .Property, .Selectable, .SimpleValue, org.jboss.logging.Logger

Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private final MetadataBuildingContext
private final Component
private final Ejb3JoinColumn[]
private static final Logger
private final String
Inherited from org.hibernate.cfg.FkSecondPass:
columnsvalue

Constructor Summary

AccessConstructor and Description
public
CopyIdentifierComponentSecondPass(Component comp, String referencedEntityName, Ejb3JoinColumn[] joinColumns, MetadataBuildingContext buildingContext)

Method Summary

Modifier and TypeMethod and Description
private void
private Property
createComponentProperty(PersistentClass referencedPersistentClass, boolean isExplicitReference, Map<String, Ejb3JoinColumn> columnByReferencedName, AtomicInteger index, Property referencedProperty)

private Property
createSimpleProperty(PersistentClass referencedPersistentClass, boolean isExplicitReference, Map<String, Ejb3JoinColumn> columnByReferencedName, AtomicInteger index, Property referencedProperty)

public void
doSecondPass(Map<K, V> persistentClasses)

Implements org.hibernate.cfg.SecondPass.doSecondPass.

public String
public boolean
Inherited from org.hibernate.cfg.FkSecondPass:
equalsgetUniqueCountergetValuehashCode

Field Detail

buildingContextback to summary
private final MetadataBuildingContext buildingContext
componentback to summary
private final Component component
joinColumnsback to summary
private final Ejb3JoinColumn[] joinColumns
logback to summary
private static final Logger log
referencedEntityNameback to summary
private final String referencedEntityName

Constructor Detail

CopyIdentifierComponentSecondPassback to summary
public CopyIdentifierComponentSecondPass(Component comp, String referencedEntityName, Ejb3JoinColumn[] joinColumns, MetadataBuildingContext buildingContext)

Method Detail

applyComponentColumnSizeValueToJoinColumnback to summary
private void applyComponentColumnSizeValueToJoinColumn(Column column, Ejb3JoinColumn joinColumn)
createComponentPropertyback to summary
private Property createComponentProperty(PersistentClass referencedPersistentClass, boolean isExplicitReference, Map<String, Ejb3JoinColumn> columnByReferencedName, AtomicInteger index, Property referencedProperty)
createSimplePropertyback to summary
private Property createSimpleProperty(PersistentClass referencedPersistentClass, boolean isExplicitReference, Map<String, Ejb3JoinColumn> columnByReferencedName, AtomicInteger index, Property referencedProperty)
doSecondPassback to summary
public void doSecondPass(Map<K, V> persistentClasses) throws MappingException

Implements org.hibernate.cfg.SecondPass.doSecondPass.

Annotations
@Override
@SuppressWarnings:unchecked
getReferencedEntityNameback to summary
public String getReferencedEntityName()

Implements abstract org.hibernate.cfg.FkSecondPass.getReferencedEntityName.

Annotations
@Override
isInPrimaryKeyback to summary
public boolean isInPrimaryKey()

Implements abstract org.hibernate.cfg.FkSecondPass.isInPrimaryKey.

Annotations
@Override