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, hashCode
public ToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, String entityClassName, String path, MetadataBuildingContext buildingContext)
public String getReferencedEntityName()
getReferencedEntityName
in class FkSecondPass
public boolean isInPrimaryKey()
isInPrimaryKey
in class FkSecondPass
public void doSecondPass(Map persistentClasses) throws MappingException
MappingException
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.