public class ToOneFkSecondPass extends FkSecondPass
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
columns, value| Constructor and Description |
|---|
ToOneFkSecondPass(ToOne value,
Ejb3JoinColumn[] columns,
boolean unique,
String entityClassName,
String path,
MetadataBuildingContext buildingContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
doSecondPass(Map persistentClasses) |
String |
getReferencedEntityName() |
boolean |
isInPrimaryKey() |
equals, getUniqueCounter, getValue, hashCodepublic ToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, String entityClassName, String path, MetadataBuildingContext buildingContext)
public String getReferencedEntityName()
getReferencedEntityName in class FkSecondPasspublic boolean isInPrimaryKey()
isInPrimaryKey in class FkSecondPasspublic void doSecondPass(Map persistentClasses) throws MappingException
MappingExceptionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.